Skip to content
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

3.6.0 gives wrong WS2812B colours on Blue Pill #1621

Open
Tressie246 opened this issue May 7, 2024 · 1 comment
Open

3.6.0 gives wrong WS2812B colours on Blue Pill #1621

Tressie246 opened this issue May 7, 2024 · 1 comment

Comments

@Tressie246
Copy link

I compiled FastLED 3.6.0 for an STM32F103C8T6 okay.

The neopixels I am using work fine with an earlier version of FastLED on an atmega328p, using FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);

When I use the same line on the STM32F103C8T6, I get invariant, solid white LED outputs.

If I use FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);, I get wrong colours, but that may be blinked.

FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS); produces a similar result, but with different colours.

I write Black, and get I get blue. I write White, I get pink.

?

@samguyer
Copy link
Contributor

@Tressie246 Try GRB for the color order -- the WS281x chips do not use RGB color order.

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

No branches or pull requests

2 participants