parent
02d1bd4539
commit
6e1704ef40
|
@ -60,6 +60,7 @@ def is_connected_to_wifi():
|
|||
return output.split('"')[1]
|
||||
|
||||
def update_led_strip(rgb_values, pixel, strip):
|
||||
print(*rgb_values)
|
||||
strip.setPixelColorRGB(int(pixel), *rgb_values)
|
||||
|
||||
def on_message(mqttc, obj, msg):
|
||||
|
|
Loading…
Reference in New Issue