From 7ab0e6ffaa9938a5c63736f2b2da2eaca66fea7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 12:54:53 +0100 Subject: [PATCH] debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- client/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.py b/client/main.py index 4890f0a..18747cb 100644 --- a/client/main.py +++ b/client/main.py @@ -65,11 +65,11 @@ def on_message(mqttc, obj, msg): rgb_values = (*ast.literal_eval(msg.payload.decode()), ) if msg.topic == "tube-"+wlan_mac_address+"/p1": for pixel in range(LEDS_PER_PIXEL): - print(pixel) update_led_strip(rgb_values, pixel, strip) elif msg.topic == "tube-"+wlan_mac_address+"/p2": for pixel in range(LEDS_PER_PIXEL, LEDS_PER_PIXEL*2): + print(pixel) update_led_strip(rgb_values, pixel, strip) elif msg.topic == "tube-"+wlan_mac_address+"/p3":