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

692 {
693 switch(CHIPSET) {
694 case SMART_MATRIX: { static CSmartMatrixController controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
695 }
696 }
#define CHIPSET
@ SMART_MATRIX
Definition FastLED.h:131
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: