Prepare Firefox
Please download
Firefox
.
ADB installation
https://developer.mozilla.org/ja/Firefox_OS/Debugging/Installing_ADB
if windows
please install
Rockchip driver
Hardware setup
Connects
CHIRIMEN
and a monitor by HDMI.
Connects CHIRIMEN and a distance sensor.
Connects to HDMI
Connects to a distance sensor
Now I'm using this
sensor
via i2c.
Please connect using
jumper cable for through hole
as following.
sensor pin name, CHIRIMEN pin name
+5v Vcc, VCC_5V
SDA, I2C0_SDA
SCL, I2C0_SCL
0v Ground, GND
You can refer
SRF02 Ultrasonic sensor
.
CHIRIMEN pins
Run Firefox OS App on CHIRIMEN
Prepare source code
Boot WebIDE of Firefox
Open the downloaded source as "New Package type Application"
Choose CHIRIMEN as runtime
Start
Prepare source code
Please download
the source code.
.
Then unzip the source to dir that you want.
Boot WebIDE of Firefox
Open Tool > Web Development > WebIDE item of Firefox.
Open the downloaded source as "New Package type Application"
Choose CHIRIMEN as runtime
Start
Push start button( triangle button )