-
-
Notifications
You must be signed in to change notification settings - Fork 265
T_COLOR_FEATURE
The T_COLOR_FEATURE is a template class specialization feature that defines the specifics of the color output needed for various LEDs and LED driver chips like WS2813b, WS2811, or APA106. These definitions generally represent the number of color elements, the order of the color elements, and any specific settings needed for these. You as the sketch author do not need to write one of these as a large library of them is available for you to choose from.
If you do not see a feature that matches your needs, you can make a request by creating an issue on the Github repo.
In general, when the term NeoPixel is used, it means either the specific smart LED like WS2812b or a combination of LED driver chips and LEDs like WS2811 driven by a single data wire.
Also, the term DotStar is used to mean similar smart LEDs like APA102 or combinations of LED driver chips and LEDs driven by two wires, a data wire and a clock wire.
Either of which comes with variances of the actual order of the colors in the data stream. Some have colors in a natural RGB order, some have them in the more common GRB order. Some will include a white LED and the white can come before or after the other colors, like GRBW or even WRGB. It is important for the author to understand the details of the NeoPixels or DotStars they have.