From 9d2d931aa99fa5eff0379a556040d8d1af2c38f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 25 Jul 2022 19:43:55 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index e044e12..6ccf4c5 100644 --- a/main.py +++ b/main.py @@ -62,11 +62,11 @@ def strobe(strip, color): for i in range(strip.numPixels()): strip.setPixelColor(i, color) strip.show() - time.sleep(float(0.01)) + time.sleep(float(0.05)) for i in range(strip.numPixels()): strip.setPixelColor(i, Color(0, 0, 0)) strip.show() - time.sleep(float(0.01)) + time.sleep(float(0.05)) def mqtt_on_connect(client, userdata, flags, rc): client.subscribe("server-rack-led/power")