From b4de6dfa8a62839e7d269d1c0ef867c9978d58e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 14:05:41 +0100 Subject: [PATCH] added sleeper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- client/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client/main.py b/client/main.py index 4d9b456..00c2056 100644 --- a/client/main.py +++ b/client/main.py @@ -83,6 +83,7 @@ def on_message(mqttc, obj, msg): for pixel in range(LEDS_PER_PIXEL*5, LEDS_PER_PIXEL*6): update_led_strip(tuple(eval(rgb_values_list[5])), pixel, strip) + time.sleep(1) if __name__ == "__main__": # Connect to Wi-Fi