Skip to content

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

Merged
hathach merged 1 commit into
adafruit:masterfrom
Neradoc:fix-status-rgb-order-picos3
Jan 16, 2025
Merged

Waveshare pico S3: change the color order of the RBG LED#425
hathach merged 1 commit into
adafruit:masterfrom
Neradoc:fix-status-rgb-order-picos3

Conversation

@Neradoc

@Neradoc Neradoc commented Jan 11, 2025

Copy link
Copy Markdown
Contributor

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 (LED green when connected to USB, red when on a power bank).

@hathach hathach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

look good, thank you

@hathach hathach merged commit 4269460 into adafruit:master Jan 16, 2025
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