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

◆ addLeds() [14/16]

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 714 of file FastLED.h.

715 {
716 switch(CHIPSET) {
717 case SMART_MATRIX: { static CSmartMatrixController controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
718 }
719 }
#define CHIPSET
@ SMART_MATRIX
Definition FastLED.h:134
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:110

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

+ Here is the call graph for this function: