parent
73a0f3c799
commit
b9bc26c34f
|
@ -26,7 +26,8 @@ LEDS_PER_PIXEL = 5
|
|||
|
||||
# Global variables for LED strip control
|
||||
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():
|
||||
# Register or reauthenticate the tube with the server
|
||||
|
|
Loading…
Reference in New Issue