FastLED 3.10.6
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)
Add a CLEDController instance to the world.
FL_DISABLE_WARNING_PUSH unsigned char * B

References addLeds(), CHIPSET, and RGB_ORDER.

Referenced by addLedsSpiChannel(), and addLedsSpiChannel().

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