FastLED 3.9.15
Loading...
Searching...
No Matches

◆ addLeds() [13/15]

template<ESM CHIPSET>
static CLEDController & CFastLED::addLeds ( struct CRGB * data,
int nLedsOrOffset,
int nLedsIfOffset = 0 )
inlinestatic

Add a SmartMatrix library based CLEDController instance to the world.

See also
https://github.com/pixelmatix/SmartMatrix

Definition at line 640 of file FastLED.h.

641 {
642 switch(CHIPSET) {
643 case SMART_MATRIX: { static CSmartMatrixController controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
644 }
645 }
#define CHIPSET
@ SMART_MATRIX
Definition FastLED.h:114
CLEDController * controller
static CLEDController & addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a CLEDController instance to the world.
Definition FastLED.cpp:92

References addLeds(), CHIPSET, controller, and SMART_MATRIX.

+ Here is the call graph for this function: