FastLED 3.10.6
Loading...
Searching...
No Matches

◆ addLeds() [12/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 1514 of file FastLED.h.

1515 {
1517 switch(CHIPSET) {
1518 case SMART_MATRIX: { static CSmartMatrixController controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
1519 }
1520 }
#define CHIPSET
CLEDController * controller
::CLEDController & addLeds(::CLEDController *pLed, CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a CLEDController instance to the world.
@ SMART_MATRIX
Definition FastLED.h:318
void busKeepAlive() FL_NO_EXCEPT
Definition bus_traits.h:123

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

+ Here is the call graph for this function: