dotstar 2582 - RGB Leds is never colored

Hello all.

I have a Strip LED Adafruit 2582, but i never get any RGB color.
All my 3 led colors light wight, no color at all.

My main code :
#define DATAPIN 11 // 4 et 5 if not using spi.h
#define CLOCKPIN 13
#define NUMPIXELS 2 // Number of LEDs in strip
Adafruit_DotStar strip(NUMPIXELS, DOTSTAR_BRG);

void setup() {
strip.begin(); // Initialize pins for output
strip.show(); // Turn all LEDs off ASAP
}

uint32_t red = 0xFF0000; // 'On' color (red) -
uint32_t green = 0x00FF00; // 'On' color (green) -
uint32_t blue = 0x0000FF; // 'On' color (blue) -

void loop() {

strip.fill(red, 0, 2);
strip.show();
delay(1000);

strip.fill(green, 0, 2);
strip.show();
delay(1000);

strip.fill(blue, 0, 2);
strip.show();
delay(1000);

}

I can see the three tiers (1/3) led lighting white but never red, green, blue.

It looks like the colors of the strip doesn't work, only in white.

I tried with SPI.h (pin 11 and 13), and with out (pin 3 and 4), but i get the same problem

Thanks for your help

Franck

I have a Strip LED Adafruit 2582,

What? I can't find any such strip.

What Arduino are you using?
How have you wired it up?

I think he means product number.

Unfortunately, these are not rgb strips, they are just white.

You mean to buy these

I would get them from aliexpress or amazon tho.

Given I was searching for the wrong number it is no wonder I didn't find anything.

However in the OP's code he had

#define NUMPIXELS 2 // Number of LEDs in strip

So he must have cut the strip.

But the statement:-

I have a Strip LED Adafruit 2582, but i never get any RGB color.

Is quite understandable because there is no colour to be had.