From 80238d65ce575668e6f5d454985b95f6462a4a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 15:06:33 +0100 Subject: [PATCH] added other try for pixel order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- client/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.py b/client/main.py index fc7de90..bdf063b 100644 --- a/client/main.py +++ b/client/main.py @@ -26,7 +26,7 @@ LEDS_PER_PIXEL = 5 # Global variables for LED strip control 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 = "GRB") def register_tube(): # Register or reauthenticate the tube with the server