Docker image to blink LED on Raspberry Pi with Node.js
526
Refer my another project
Between GPIO2 and GND. Not only LED but also registor should be applied.
docker run -it --privileged --name rpi-node-blink hisashin/rpi-node-blink
After a while, it will start blinking. Edit /blink.js to change intervals and more.
Shutdown sequence in /start.sh seems not working perfectly. Additionally run this command to release GPIO when you stop.
echo 2 > /sys/class/gpio/unexport
Content type
Image
Digest
Size
244.3 MB
Last updated
over 8 years ago
docker pull hisashin/rpi-node-blink