Skip to content

Waveshare pico S3: change the color order of the RBG LED #9949

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

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

Neradoc
Copy link

@Neradoc Neradoc commented Jan 11, 2025

I didn't find a clear documentation of the color order of the neopixel on the board, but the Micropython demo from Waveshare does swap red and green instead of the default (1, 0, 2, 3), so I think it's good.

# Set the color order for the NeoPixel object
rgb_led.ORDER = (0, 1, 2, 3)

Tested and the color is now correct (exceptions blink red instead of green).

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! So many boards, so many variations...

@dhalbert dhalbert merged commit 96a3300 into adafruit:main Jan 11, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants