/rpi_gpio_test_nodejs

Raspberry Pi GPIO read/write with Node.js

Primary LanguageJavaScript

rpi_gpio_test_nodejs

Raspberry Pi GPIO read/write with Node.js

This example shows how to read and write Rapsberry Pi GPIO state with rpi-gpio.js

How to run

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.