From 80292c843d16d6480ce95deb90a53b87d71121ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 13:38:32 +0100 Subject: [PATCH] next debug test 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, 2 insertions(+), 2 deletions(-) diff --git a/client/main.py b/client/main.py index 51b7c22..12c1898 100644 --- a/client/main.py +++ b/client/main.py @@ -63,11 +63,11 @@ def update_led_strip(rgb_values, pixel, strip): def on_message(mqttc, obj, msg): rgb_values_list = msg.payload.decode() - - print(*ast.literal_eval(rgb_values_list)) + rgb_values_list *ast.literal_eval(rgb_values_list) print(rgb_values_list[0]) + time.sleep(1) # print(list(*rgb_values_list[0]))