-
-
Notifications
You must be signed in to change notification settings - Fork 257
T_METHOD
The T_METHOD is a template class specialization feature that defines the specifics of the method used to drive the signal output needed for various LEDs and LED driver chips like WS2813b, WS2811, or APA106. These definitions generally represent the signal form (timing/pulses), the hardware method to drive the signal (bitbang/SPI/UART/etc), 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 method 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 how the signal is generated on a pin(s), which can be very important on some platforms that a bitbang method is not reliable due to interrupts or other timing interactions.