FastLED 3.10.10
Loading...
Searching...
No Matches

◆ addLeds() [11/14]

template<ESPIChipsets CHIPSET, fl::u8 DATA_PIN, fl::u8 CLOCK_PIN, fl::Bus B = fl::Bus::AUTO>
static ::CLEDController & CFastLED::addLeds ( CRGB * data,
int nLedsOrOffset,
int nLedsIfOffset = 0 )
inlinestatic

Add an SPI based CLEDController instance to the world (legacy path).

Definition at line 1358 of file FastLED.h.

1358 {
1361 FL_STATIC_ASSERT(CHIP::IS_VALID, "Unsupported chipset");
1362 typedef typename CHIP::ControllerType ControllerType;
1363 static ControllerType c;
1364 return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
1365 }
::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:159
#define FL_STATIC_ASSERT(...)

References addLeds(), fl::busKeepAlive(), FL_NO_EXCEPT, and FL_STATIC_ASSERT.

+ Here is the call graph for this function: