set timeout for strobolight

This commit is contained in:
mmaster 2020-09-04 22:19:08 +02:00
parent ab4a27b7b0
commit 23d4804e9d

View file

@ -15,7 +15,7 @@ while true; do
if [ "$buzzerstat" -eq 0 ]; then if [ "$buzzerstat" -eq 0 ]; then
/home/pi/RandomVideo/RandomVideo.sh buzzer /home/pi/RandomVideo/RandomVideo.sh buzzer
$(command -v gpio) write $strobogpio 0; sleep 10; $(command -v gpio) write $strobogpio 1 & $(command -v gpio) write $strobogpio 0; sleep 1; $(command -v gpio) write $strobogpio 1 &
sleep 1 sleep 1