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

◆ addLeds() [6/14]

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

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

Definition at line 1312 of file FastLED.h.

1312 {
1315 FL_STATIC_ASSERT(CHIP::IS_VALID, "Unsupported chipset");
1316 typedef typename CHIP::template CONTROLLER_CLASS_WITH_ORDER<RGB_ORDER>::ControllerType ControllerTypeWithOrder;
1317 static ControllerTypeWithOrder c;
1318 return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset);
1319 }
::CLEDController & addLeds(::CLEDController *pLed, CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a CLEDController instance to the world.
void busKeepAlive() FL_NO_EXCEPT
Definition bus_traits.h:123
#define FL_STATIC_ASSERT(...)

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

+ Here is the call graph for this function: