BARRAUX Arthur
2 years ago
commit
4403786ba6
1 changed files with 12 additions and 0 deletions
@ -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…
Reference in new issue