From 5d181c88851be89a0d69c610a5461d8b93a0729f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 04:09:22 +0100 Subject: [PATCH] removed debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- client/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/main.py b/client/main.py index 9306865..0f0e914 100644 --- a/client/main.py +++ b/client/main.py @@ -59,10 +59,8 @@ def is_connected_to_wifi(): return output.split('"')[1] def update_led_strip(rgb_values, pixel, strip): - print(rgb_values) strip[int(pixel)] = rgb_values - print("Updated pixel "+str(pixel)+" with "+str(rgb_values)) - + def on_message(mqttc, obj, msg): rgb_values = (*ast.literal_eval(msg.payload.decode()), ) if msg.topic == "tube-"+wlan_mac_address+"/p1":