parent
b42f850e03
commit
31e16a8224
|
@ -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, pixel_order = neopixel.GRB)
|
strip = neopixel.NeoPixel(pin = board.D18, n = LED_COUNT, auto_write = False, pixel_order = neopixel.RGB)
|
||||||
|
|
||||||
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