From 23d4804e9dd52ec29026ba8839ee602f45f156d9 Mon Sep 17 00:00:00 2001 From: mmaster Date: Fri, 4 Sep 2020 22:19:08 +0200 Subject: [PATCH] set timeout for strobolight --- buzzer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buzzer.sh b/buzzer.sh index 2be6771..5e19372 100755 --- a/buzzer.sh +++ b/buzzer.sh @@ -15,7 +15,7 @@ while true; do if [ "$buzzerstat" -eq 0 ]; then /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