-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
It turns out we can control one of the LEDs on the R-Pi board. Wouldn't it be cool to have a CLI with an API like the blink1 cli?
# turn off the default behavior of the LED
echo none >/sys/class/leds/led0/trigger
# Turn it on
echo 1 >/sys/class/leds/led0/brightness
# Turn it off
echo 0 >/sys/class/leds/led0/brightness
from the third comment here ->
https://www.raspberrypi.org/forums/viewtopic.php?f=31&t=12530