WS2812B wrong colors

Hi,
I just got a ledstrip 1m long with ws2812b comtroller.
I try to setup colors but i turns out only the first led turn in the good color.
The next one was shifted and the third shifted again from the second one and only the forth back to the original and so on.
You can see on the screenshot that i ask for 6 red pixels.

Anyone ever ends up to this ?
thanks

Comment out the 2nd fastled line for the LPD6803 LEDs.

Problem like that is generally caused by mistakenly driving an RGB LED as an RGBW.

david_2018:
Comment out the 2nd fastled line for the LPD6803 LEDs.

I did that after seeing it but no different behavior

david_2018:
Problem like that is generally caused by mistakenly driving an RGB LED as an RGBW.

Not sure to understand what do you mean by that.

You probably have an RGBW LED strip instead of an RGB strip. The RGBW has red, green, blue, and white LEDs so takes 4 bytes of data per pixel instead of 3.

Don't see any examples in FastLED specifically for RGBW LEDs, if you can install the Adafruit NeoPixel library and run the RGBWStrandtest example that should tell you for sure if you have that type LED strip.

Thanks David_2018 it’s exactly that. I switch to neopixel and use sk6812 controller and it work just fine. The product description was wrong I guess

aardjoun:
The product description was wrong I guess

That would be the one you avoided telling us about. :roll_eyes: