Skip to content

Instantly share code, notes, and snippets.

@krishnan793
Last active August 29, 2015 14:16
Show Gist options
  • Save krishnan793/565e30ac5cdcba2b73e5 to your computer and use it in GitHub Desktop.
Save krishnan793/565e30ac5cdcba2b73e5 to your computer and use it in GitHub Desktop.
while true
do
echo 1 > /sys/class/gpio/gpio23/value
cat /sys/class/gpio/gpio23/value
sleep 1
echo 0 > /sys/class/gpio/gpio23/value
cat /sys/class/gpio/gpio23/value
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment