Last active
February 13, 2019 00:43
-
-
Save jadonk/0aeaa544219c573e4f4515b02943188d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo bash -c 'while true; do | |
echo "(`cat /sys/class/thermal/thermal_zone0/temp`-30000)/75" | bc > /sys/class/leds/beaglebone:green:usr4/delay_on | |
echo 1 > /sys/class/leds/beaglebone:green:usr4/shot | |
sleep 1 | |
done' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment