parent
9437010202
commit
aa7f9a62c7
|
@ -59,7 +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
|
||||||
|
|
Loading…
Reference in New Issue