rpi-gpio

Posted on

Requirements For Raspbian

Requires Node.js
Setup Simple Node.js website to verify setup

Requires gcc compiler, check if gcc/g++ is installed

     sudo apt-get install gcc g++

Installation

Install npm javascript GPIO control

     npm install rpi-gpio

Web App

open the web app by entering the raspberry pi IP address (i.e. 192.168.0.54) . From the website the GPIO pins can be turned on or off (set to HIGH or LOW).