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

◆ addLeds() [5/16]

template<ESPIChipsets CHIPSET, fl::u8 DATA_PIN, fl::u8 CLOCK_PIN, EOrder RGB_ORDER>
CLEDController & CFastLED::addLeds ( struct CRGB * data,
int nLedsOrOffset,
int nLedsIfOffset = 0 )
inline

Definition at line 541 of file FastLED.h.

541 {
543 static_assert(CHIP::IS_VALID, "Unsupported chipset");
544 typedef typename CHIP::template CONTROLLER_CLASS_WITH_ORDER<RGB_ORDER>::ControllerType ControllerTypeWithOrder;
545 static ControllerTypeWithOrder c;
546 return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
547 }
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().

+ Here is the call graph for this function: