Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R-Pi On-board LED CLI #42

Open
rjcorwin opened this issue Jun 20, 2015 · 0 comments
Open

R-Pi On-board LED CLI #42

rjcorwin opened this issue Jun 20, 2015 · 0 comments

Comments

@rjcorwin
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants