From 9286df0348d69ca21a190101a00b223d7fa76e6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 03:39:42 +0100 Subject: [PATCH] fixed rgb values now? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- client/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/main.py b/client/main.py index 891d130..8e959fe 100644 --- a/client/main.py +++ b/client/main.py @@ -58,7 +58,8 @@ def is_connected_to_wifi(): return output.split('"')[1] def update_led_strip(rgb_values, pixel, strip): - strip[int(pixel)] = tuple(rgb_values) + print(rgb_values) + strip[int(pixel)] = rgb_values def on_message(mqttc, obj, msg): if msg.topic == "tube-"+wlan_mac_address+"/p1":