Author Options:

Adafruit_NeoPixel strip question related to frequency bitstream? Answered

Hi Becky, and dear all,

Recently working with the Neopixel stripe and mirror project, I must say your Class is great

and please keep up the good work. I enjoyed every single word of the hole Class.

My question is : in thefunction, what exactly does the last two parameters, marked BOLD, the NEO_GRBW and NEO_KHZ800???

Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, PIN, NEO_GRBW + NEO_KHZ800);

and how is it possible to write them as a sum. I mean NEO_KHZ800 what exactly this term is doing and why in arduino IDE it shows up Orange?..


1 Replies

bekathwiaBest Answer (author)2017-05-09

Those are referring to the type of pixel (RGBW vs RGB vs GRB etc.) and the communication speed (earlier versions of this chip communicated at a slower rate). You can learn every little thing about the NeoPixel library here: https://learn.adafruit.com/adafruit-neopixel-uberg...

Select as Best AnswerUndo Best Answer