August 2018
Beginner to intermediate
214 pages
6h 39m
English
Once your code is on your Raspberry Pi, you'll want to switch to your SSH session and run the following, if you're using the source code from this book:
cd hands-on-robotics-with-javascript/ch2/blink-led
Otherwise, use cd to enter the folder where you stored your blink-led.js file on the Raspberry Pi. Then, run the following:
sudo node blink-led.js
Note that the Raspi-IO plugin requires you to run the command as sudo. If all has gone well, you should see a quickly blinking LED on your breadboard. If not, here are some troubleshooting steps:
Read now
Unlock full access