Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-20 16:35:15 +01:00
parent 8d6b94949c
commit 970350d47f
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ def update_led_strip(rgb_values, pixel, strip):
def on_message(mqttc, obj, msg): def on_message(mqttc, obj, msg):
global rgb_values_list global rgb_values_list
rgb_values_list = eval(msg.payload.decode()) rgb_values_list = eval(msg.payload.decode())
print(rgb_values_list)
if __name__ == "__main__": if __name__ == "__main__":
# Connect to Wi-Fi # Connect to Wi-Fi