fixed rgb values now?

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 03:39:42 +01:00
parent f9fff5e2f8
commit 9286df0348
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,8 @@ def is_connected_to_wifi():
return output.split('"')[1]
def update_led_strip(rgb_values, pixel, strip):
strip[int(pixel)] = tuple(rgb_values)
print(rgb_values)
strip[int(pixel)] = rgb_values
def on_message(mqttc, obj, msg):
if msg.topic == "tube-"+wlan_mac_address+"/p1":