GPIO interface


#1

It is possible to access GPIO interface from nodejs services?


#2

I don't actually have a Pi to check this out with, but there is a npm package called 'rpi-gpio' that looks like it's specifically for that. Now, it does look like since it's native stuff, you'd probably have to build a binary dependency, epoll, in the build system.. looks like it might take some tricks to get both epoll and rpi-gpio available to the built Pi image.. but it looks like it should be do-able.


#3

oh, yeah, here's a link to rpi-gpio https://www.npmjs.com/package/rpi-gpio

and to epoll https://github.com/fivdi/epoll


#4

Thank you, other question regarding this, it is possible to know which is the linux distribution that webos is based on? I ask this becase then maybe I can use a lot of iot libraries from the raspberry pi community