Page 1 of 1

need simple example for control gpio

Posted: Fri Dec 13, 2013 8:36 pm
by Aurimaslu
Hi, maybe someone have simple example, that i can control 1 gpio pin via web using node.js and socket.io. I am not understand how should work button.

Re: need simple example for control gpio

Posted: Sat Jan 04, 2014 2:23 am
by PIsingh
man!! i am trying to do that same currently looking into node.js npm modules called rpi-gpio @ https://npmjs.org/package/rpi-gpio but had problem figuring out what is the p1 header, p2header is all about. And when you say pin 7 on rpi-gpio does that means pin 7 on the pi as well. totally confuseddd