added global rgb_values_list for start

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-18 17:14:28 +01:00
parent 28b49d17aa
commit a3624eed6e
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ if __name__ == "__main__":
mqttc.on_message = on_message
mqttc.loop_start()
global rgb_values_list
rgb_values_list = eval("['[0, 0, 0]', '[0, 0, 0]', '[0, 0, 0]', '[0, 0, 0]', '[0, 0, 0]', '[0, 0, 0]']")
while True:
update_led_strip(rgb_values_list, strip)
time.sleep(0.5)