From 5da64a92b7a5a07bb0fba8fee2b87c73a122096e Mon Sep 17 00:00:00 2001 From: Markus Lorenz Schilling Date: Thu, 19 Jan 2023 18:54:15 +0100 Subject: [PATCH] Update qp2_client.py Changed LED pin and LED color mode --- qp2_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qp2_client.py b/qp2_client.py index 105d13c..a261060 100644 --- a/qp2_client.py +++ b/qp2_client.py @@ -11,9 +11,9 @@ import board import neopixel -pixel_pin = board.D21 # the pin to which the LED strip is connected to +pixel_pin = board.D12 # the pin to which the LED strip is connected to num_pixels = 24 # this specifies the TOTAL number of pixels (should be a multiple of 12. ie. 12, 24, 36, 48 etc) -ORDER = neopixel.GRB # set the color type of the neopixel +ORDER = neopixel.GRBW # set the color type of the neopixel ledSegment = 6 # number of LEDs in a single segment ledArray = [[[0 for i in range(3)] for j in range(ledSegment)] for z in range(4)] #the array which stores the pixel information