Raspberry Pi GPIO read/write with Node.js
This example shows how to read and write Rapsberry Pi GPIO state with rpi-gpio.js
Clone this repository and go to the project directory
$ npm install $ sudo node index.js
Please note: You must run this in root account.
For more info click here.