Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 14:05:30 +01:00
parent 49c1d7c6a9
commit 5071a74fc6
1 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@ def on_message(mqttc, obj, msg):
print(tuple(eval(rgb_values_list[0]))) print(tuple(eval(rgb_values_list[0])))
for pixel in range(LEDS_PER_PIXEL): for pixel in range(LEDS_PER_PIXEL):
print("Updating pixel "+str(pixel)+" with values: "+tuple(eval(rgb_values_list[0])))
update_led_strip(tuple(eval(rgb_values_list[0])), pixel, strip) update_led_strip(tuple(eval(rgb_values_list[0])), pixel, strip)
for pixel in range(LEDS_PER_PIXEL, LEDS_PER_PIXEL*2): for pixel in range(LEDS_PER_PIXEL, LEDS_PER_PIXEL*2):