parent
609d04c894
commit
b01c6bdfad
|
@ -26,7 +26,7 @@ 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 = False)
|
strip = neopixel.NeoPixel(pin = board.D18, n = LED_COUNT, auto_write = False, pixel_order=neopixel.GRB)
|
||||||
|
|
||||||
def register_tube():
|
def register_tube():
|
||||||
# Register or reauthenticate the tube with the server
|
# Register or reauthenticate the tube with the server
|
||||||
|
|
Loading…
Reference in New Issue