Giant Puppet Robot Project using RaspberryPi
Using RaspberryPi 3 LED on physical pin 5 = GPIO pin 3 = wiringPi pin 9
Node.js and dependencies come installed on Raspbian, as does wiringPi.
-
update everything: sudo apt-get update
-
download the file wget https://github.com/hudhaifahz/puppetmasters/raw/master/NODE.zip
-
unzip the file note: zip may need to be installed: sudo apt-get install zip unzip NODE
-
Add admin code to NODE/request.js on line 9
-
run program get into directory: cd NODE node request.js
-
visit your Pi localhost or home ip at port 8080 eg. 127.0.0.1:8080 OR 192.168.1.73:8080