Aurimaslu
Posts: 8
Joined: Sun Oct 13, 2013 4:10 pm

need simple example for control gpio

Fri Dec 13, 2013 8:36 pm

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.

PIsingh
Posts: 12
Joined: Tue Dec 24, 2013 11:52 pm

Re: need simple example for control gpio

Sat Jan 04, 2014 2:23 am

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

Return to “Automation, sensing and robotics”