jasoncoon / esp32-fastled-webserver

Work in progress ESP32 port of https://github.com/jasoncoon/esp8266-fastled-webserver
GNU General Public License v3.0
197 stars 66 forks source link

Wrong Color Order #18

Closed jordanadania closed 5 years ago

jordanadania commented 5 years ago

FastLED.addLeds<WS2812B, 23, GRB>(leds, NUM_LEDS);

FastLED.addLeds<WS2811, 32, RGB>(leds, NUM_LEDS);

With that code, the WS2812B strip runs correctly, but the WS2811 code swaps the Red and Green. Switching the WS2811 to GRB has no effect.

Putting the WS2811 line before the WS2812B gives opposite results. The WS2811 strip will run correctly, but the WS2812B strip would have Red and Green swapped. Switching the WS2812B to RGB has no effect.

jordanadania commented 5 years ago

I am aware this isn't an issue with Jason Coon's code.

jasoncoon commented 5 years ago

Sorry, I'm not sure.

Since this is a general FastLED question, I'd recommend posting it on the official forums (reddit): https://www.reddit.com/r/FastLED/

jordanadania commented 5 years ago

Done. Thank you for the advice.

jasoncoon commented 5 years ago

For reference: https://www.reddit.com/r/FastLED/comments/c5gqf7/esp32_fastled_wrong_color_order/