From c445242819e8be7a32ec79a3458cf2fc8536096f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 25 Jul 2022 19:43:26 +0200 Subject: [PATCH] changed cooldown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 31eb5e1..e044e12 100644 --- a/main.py +++ b/main.py @@ -66,6 +66,7 @@ def strobe(strip, color): for i in range(strip.numPixels()): strip.setPixelColor(i, Color(0, 0, 0)) strip.show() + time.sleep(float(0.01)) def mqtt_on_connect(client, userdata, flags, rc): client.subscribe("server-rack-led/power")