autowrite true

Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
Ebbe Baß
2024-02-17 14:13:07 +01:00
parent 73a0f3c799
commit b9bc26c34f
+2 -1
View File
@@ -26,7 +26,8 @@ LEDS_PER_PIXEL = 5
# Global variables for LED strip control # Global variables for LED strip control
global strip global strip
strip = neopixel.NeoPixel(pin = board.D18, n = LED_COUNT, auto_write = True, pixel_order = neopixel.RGB) strip = neopixel.NeoPixel(pin = board.D18, n = LED_COUNT, auto_write = True, pixel_order = neopixel.RGBW)
strip.auto_write = True
def register_tube(): def register_tube():
# Register or reauthenticate the tube with the server # Register or reauthenticate the tube with the server