FastLED
3.1
|
Some of the SPI controllers will need to perform a transform on each byte before doing anyting with it. More...
#include <fastspi_types.h>
Public Attributes | |
static register uint8_t | scale { return scale8(data, scale) |
Some of the SPI controllers will need to perform a transform on each byte before doing anyting with it.
Creating a class of this form and passing it in as a template parameter to writeBytes/writeBytes3 below will ensure that the body of this method will get called on every byte worked on. Recommendation, make the adjust method aggressively inlined.
TODO: Convinience macro for building these
Definition at line 20 of file fastspi_types.h.