3Views0Replies

Author Options:

Using a SK6812RGBW pixel strip? Answered

I bought an SK6812GBW and can't get it to work. I looked and it seems this was supposed to be in the neopixel library but when I define it I get a not declared error.

Any ideas as to what I am doing wrong?

Thanks.

#include

#define PIXEL_TYPE SK6812RGBW
.........

Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, PIN, PIXEL_TYPE);




rgbw_strand_test1:19:61: error: 'PIXEL_TYPE' was not declared in this scope

Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, PIN, PIXEL_TYPE);



Using library Adafruit_NeoPixel at version 1.1.7 in folder: C:\Users\Ric PC\Documents\Arduino\libraries\Adafruit_NeoPixel
exit status 1
'PIXEL_TYPE' was not declared in this scope

Discussions