From 81dd92a5534e4ea415d49324e7c3501af20cbae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 14:36:27 +0100 Subject: [PATCH] added debug 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 ba3c0bf..51db418 100644 --- a/client/main.py +++ b/client/main.py @@ -65,6 +65,7 @@ def update_led_strip(rgb_values, pixel, strip): def on_message(mqttc, obj, msg): rgb_values_list = eval(msg.payload.decode()) + print(rgb_values_list) for pixel in range(LEDS_PER_PIXEL): update_led_strip(tuple(eval(rgb_values_list[0])), pixel, strip)