added sleeper

Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
Ebbe Baß
2024-02-17 14:05:41 +01:00
parent 5071a74fc6
commit b4de6dfa8a
+1
View File
@@ -83,6 +83,7 @@ def on_message(mqttc, obj, msg):
for pixel in range(LEDS_PER_PIXEL*5, LEDS_PER_PIXEL*6): for pixel in range(LEDS_PER_PIXEL*5, LEDS_PER_PIXEL*6):
update_led_strip(tuple(eval(rgb_values_list[5])), pixel, strip) update_led_strip(tuple(eval(rgb_values_list[5])), pixel, strip)
time.sleep(1)
if __name__ == "__main__": if __name__ == "__main__":
# Connect to Wi-Fi # Connect to Wi-Fi