From dbd05e440893ec349b3ac43ddeff9a2b7f4920f8 Mon Sep 17 00:00:00 2001 From: starcalc Date: Tue, 30 Jan 2018 22:38:02 +0100 Subject: [PATCH] strip.clear() statt manueller Routine --- esp-videoswitcher.ino | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/esp-videoswitcher.ino b/esp-videoswitcher.ino index f638761..5bb9658 100644 --- a/esp-videoswitcher.ino +++ b/esp-videoswitcher.ino @@ -362,10 +362,11 @@ void loop() { // Zeige aktuelle Quelle auf dem Strip an strip.None(); - for (int j=0;j lastMillis + 1000) + if (millis() > lastMillis + 1000) // Timeout { currentnumber = 0; }