You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
165 B

2 years ago
#!/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
2 years ago
sleep 1
2 years ago
done