0

Color problem with NeoPixel Stick 8 x 5050 RGB
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Color problem with NeoPixel Stick 8 x 5050 RGB

by bsterne on Mon Aug 19, 2019 12:14 am

I'm not sure what is going on with the NeoPixel Stick 8 x 5050 RGB I started playing with today. The colors seem to be off, but in a regular pattern that makes me wonder if I did something wrong. I reduced the strandtest sample code to a single line of code that should turn all the lights red, but instead the LEDs are alternating red, green, blue (see attached pic).
Code: Select all | TOGGLE FULL SIZE
colorWipe(strip.Color(255, 0, 0), 50);

I also noticed that setting pixel colors individually doesn't seem to work as expected. I changed the loop to contain just this statement, and no LEDs activated:
Code: Select all | TOGGLE FULL SIZE
strip.setPixelColor(0, strip.Color(255, 0, 0))


Any idea what's going on here? I've had good success with a couple of Neopixel rings and haven't seen any issues like this. Thanks in advance for your help.
Attachments
IMG_20190818_134715-01.jpg
IMG_20190818_134715-01.jpg (574.58 KiB) Viewed 32 times

bsterne
 
Posts: 1
Joined: Tue Jan 22, 2019 1:53 pm

Re: Color problem with NeoPixel Stick 8 x 5050 RGB

by adafruit_support_mike on Mon Aug 19, 2019 1:11 am

It looks like you have an RGBW strip instead of an RGB strip.

Try using 4 values per pixel and see if the LEDs do what they should.

adafruit_support_mike
 
Posts: 59172
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.