4 ms·
I have been able to use the modified System application on my own firefoxos-based boards. However, for GPIO I have used a background process based on NodeJS (wh
by gbraad 12y ago
I have been able to use the modified System application on my own firefoxos-based boards. However, for GPIO I have used a background process based on NodeJS (which exposes the ports using a REST-api). Getting GPIO working on some phoneboards would still prove a challenge as mostly they do not have these easily exposed.
- janjongboom 12y agoNo, not super easy, but not impossible either. http://ee.telenor.io/gonzo/hardware/2015/02/10/gpio.html http://ee.telenor.io/gonzo/hardware/2015/02/10/gpio.html
- gbraad 12y ago... of the GPIO on the SoC, you only have some of the exposed buttons a device might have. Far from ideal... also, at the moment FirefoxOS itself does not have a notion of GPIO as a WebAPI. But great to see this, nice article.
- janjongboom 12y agoCorrect, but they're exposed over file descriptors, and I added http://janos.io/api-reference/fs.html http://janos.io/api-reference/fs.html to talk to them :-).