FastLED 3.10.8
Loading...
Searching...
No Matches

◆ addLeds() [6/14]

template<ESM CHIPSET, fl::Bus B = fl::Bus::AUTO>
::CLEDController & CFastLED::addLeds ( 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 1503 of file FastLED.h.

1504 {
1506 switch(CHIPSET) {
1507 case SMART_MATRIX: { static CSmartMatrixController controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
1508 }
1509 }
#define CHIPSET
@ SMART_MATRIX
Definition FastLED.h:318
CLEDController * controller
::CLEDController & addLeds(::CLEDController *pLed, CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) FL_NO_EXCEPT
Add a CLEDController instance to the world.
void busKeepAlive() FL_NO_EXCEPT
Definition bus_traits.h:154

References addLeds(), fl::busKeepAlive(), CHIPSET, controller, and SMART_MATRIX.

+ Here is the call graph for this function: