Last active
August 29, 2015 14:09
-
-
Save OTL/1960bdf91a4520de5892 to your computer and use it in GitHub Desktop.
Intel Edison Lチカ ref: http://qiita.com/OTL/items/979633c1bace6e7f7b11
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
#!/bin/sh | |
echo "165" > /sys/class/gpio/export | |
echo "out" > /sys/class/gpio/gpio165/direction | |
while : ; do | |
echo "1" > /sys/class/gpio/gpio165/value | |
sleep 1 | |
echo "0" > /sys/class/gpio/gpio165/value | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment