Browse Source

test

master
BARRAUX Arthur 2 years ago
commit
4403786ba6
  1. 12
      blink.sh

12
blink.sh

@ -0,0 +1,12 @@
#!/bin/bash
gpio mode 7 out
for i in `seq 1 10`
do
if [ $(($i%2)) == 0 ]
then
gpio write 7 0
else
gpio write 7 1
fi
done
Loading…
Cancel
Save