Skip to content

Instantly share code, notes, and snippets.

@jadonk
Created May 20, 2014 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jadonk/71a409ffaa151eb1f8e8 to your computer and use it in GitHub Desktop.
Save jadonk/71a409ffaa151eb1f8e8 to your computer and use it in GitHub Desktop.
#!/bin/sh
BASE=/sys/class/leds/beaglebone\:green\:usr
echo timer > ${BASE}0/trigger
echo 2000 > ${BASE}0/delay_off
sleep 0.5
echo timer > ${BASE}1/trigger
echo 2000 > ${BASE}1/delay_off
sleep 0.5
echo timer > ${BASE}2/trigger
echo 2000 > ${BASE}2/delay_off
sleep 0.5
echo timer > ${BASE}3/trigger
echo 2000 > ${BASE}3/delay_off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment