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

◆ addLeds() [4/15]

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

Definition at line 474 of file FastLED.h.

474 {
476 static_assert(CHIP::IS_VALID, "Unsupported chipset");
477 typedef typename CHIP::template CONTROLLER_CLASS_WITH_ORDER<RGB_ORDER>::ControllerType ControllerTypeWithOrder;
478 static ControllerTypeWithOrder c;
479 return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
480 }
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().

+ Here is the call graph for this function: