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

◆ addLeds() [5/16]

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

518 {
520 static_assert(CHIP::IS_VALID, "Unsupported chipset");
521 typedef typename CHIP::template CONTROLLER_CLASS_WITH_ORDER<RGB_ORDER>::ControllerType ControllerTypeWithOrder;
522 static ControllerTypeWithOrder c;
523 return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
524 }
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: