From be6f16f9684430210d00c945600601427edcfa3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 23 Jul 2022 09:10:56 +0200 Subject: [PATCH] removed sleep in loop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.py b/main.py index 50383fa..f994fce 100644 --- a/main.py +++ b/main.py @@ -121,10 +121,8 @@ if __name__ == '__main__': rainbowCycle(strip) elif mode == 1: setColor(strip, Color(int(r), int(g), int(b))) - time.sleep(1) else: setColor(strip, Color(0,0,0)) - time.sleep(1) except KeyboardInterrupt: client.publish("server-rack-led/power", "False")