diff --git a/client/main.py b/client/main.py index 5ad381a..98125d8 100644 --- a/client/main.py +++ b/client/main.py @@ -63,9 +63,7 @@ def update_led_strip(rgb_values, pixel, strip): def on_message(mqttc, obj, msg): rgb_values_list = eval(msg.payload.decode()) - - time.sleep(1) - + print(tuple(eval(rgb_values_list[0]))) for pixel in range(LEDS_PER_PIXEL): update_led_strip(tuple(eval(rgb_values_list[0])), pixel, strip)