Hi!
I'm trying to do a wave effect with my WS2812B led stripe, but it seems like each individual led has the RGB configured differently as the strip was lighting in different colours of the ones i've defined
So I set up each led individually and saw the the RGB is different on each led, here's the code I have to use to set all the leds to blue
#include <Adafruit_NeoPixel.h>
int ledPin = 12;
int numLeds = 144;
int delayVal = 200;
int counter;
Adafruit_NeoPixel ledStrip (numLeds, ledPin, NEO_GRBW + NEO_KHZ800);
void setup() {
ledStrip.begin(); //init led strip
}
void loop() {
ledStrip.setPixelColor(0,ledStrip.Color(0, 0, 255));
delay (delayVal);
ledStrip.show();
ledStrip.setPixelColor(1,ledStrip.Color(255, 0, 0));
delay (delayVal);
ledStrip.show();
ledStrip.setPixelColor(2,ledStrip.Color(0, 255, 0));
delay (delayVal);
ledStrip.show();
ledStrip.setPixelColor(3,ledStrip.Color(0, 0, 255,0));
delay (delayVal);
ledStrip.show();
ledStrip.setPixelColor(4,ledStrip.Color(255, 0, 0));
delay (delayVal);
ledStrip.show();
ledStrip.setPixelColor(5,ledStrip.Color(0, 255, 0));
delay (delayVal);
ledStrip.show();
ledStrip.setPixelColor(6,ledStrip.Color(0, 0, 255));
delay (delayVal);
ledStrip.show();
ledStrip.setPixelColor(7,ledStrip.Color(255, 0, 0));
delay (delayVal);
}
And also, as you may see from the image, there are also some leds that are not on the supposed positions as they are not lighting up but instead the one next to it is (as for example pixel nº 3 lights up pixel in position nº 4 for some weird reason).
Does anybody know why this could be happening?
Thanks in advance



