Skip to content

Update qp2_client.py #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions qp2_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down