FastLED 3.10.8
Loading...
Searching...
No Matches

◆ addLedsSpiDispatch() [2/2]

template<ESPIChipsets CHIPSET, fl::u8 DATA_PIN, fl::u8 CLOCK_PIN, fl::u32 RATE, int VARIANT, fl::EOrder RGB_ORDER, fl::Bus B, fl::u8 B_WHICH>
LPD8806Controller WS2803Controller MY9221Controller APA102Controller APA102ControllerHD APA102Controller HD108Controller SK9822ControllerHD ::CLEDController & CFastLED::addLedsSpiDispatch ( CRGB * data,
int nLedsOrOffset,
int nLedsIfOffset,
const fl::SpiChipsetConfig & spiCfg,
fl::true_type  )
inlinestatic

Definition at line 1180 of file FastLED.h.

1181 {
1182 static fl::SlimSpiBridgeController<static_cast<fl::SpiChipset>(CHIPSET), RGB_ORDER, B, B_WHICH> sCtrl(spiCfg);
1183 return addLeds(&sCtrl, data, nLedsOrOffset, nLedsIfOffset);
1184 }
#define CHIPSET
#define RGB_ORDER
::CLEDController & addLeds(::CLEDController *pLed, CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) FL_NO_EXCEPT
Add a CLEDController instance to the world.

References addLeds(), CHIPSET, FL_NO_EXCEPT, and RGB_ORDER.

Referenced by addLedsSpiChannel(), and addLedsSpiChannel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: