Skip to content

Instantly share code, notes, and snippets.

@agmm
Created September 11, 2021 15:29
Show Gist options
  • Select an option

  • Save agmm/6b9a93064312394b5b40ecf3ec99656c to your computer and use it in GitHub Desktop.

Select an option

Save agmm/6b9a93064312394b5b40ecf3ec99656c to your computer and use it in GitHub Desktop.
Raspberry Pi LEDs
sudo sh -c 'echo 0 > /sys/class/leds/led0/brightness'
sudo sh -c 'echo 1 > /sys/class/leds/led0/brightness'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment