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

◆ B [6/11]

Initial value:
static ::CLEDController &addLeds(CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0)
{
switch(CHIPSET) {
case OCTOWS2811: { static fl::COctoWS2811Controller<RGB_ORDER,WS2811_800kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
case OCTOWS2811_400: { static fl::COctoWS2811Controller<RGB_ORDER,WS2811_400kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
}
}
template<OWS2811 CHIPSET
#define CHIPSET
OWS2811
Octo WS2811 LED Library controller types.
Definition FastLED.h:280
@ OCTOWS2811
Definition FastLED.h:280
@ OCTOWS2811_400
Definition FastLED.h:280
CLEDController * controller
::CLEDController & addLeds(::CLEDController *pLed, CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a CLEDController instance to the world.
fl::CRGB CRGB
Definition crgb.h:25
@ AUTO
Sentinel: defer to DefaultBus<Chipset>::value.
Definition bus.h:61
void busKeepAlive() FL_NOEXCEPT
Definition bus_traits.h:117

Definition at line 1241 of file FastLED.h.

1243 {
1245 switch(CHIPSET) {
1246 case OCTOWS2811: { static fl::COctoWS2811Controller<RGB_ORDER,WS2811_800kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
1247 case OCTOWS2811_400: { static fl::COctoWS2811Controller<RGB_ORDER,WS2811_400kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
1248#ifdef WS2813_800kHz
1249 case OCTOWS2813: { static fl::COctoWS2811Controller<RGB_ORDER,WS2813_800kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
1250#endif
1251 }
1252 }
@ OCTOWS2813
Definition FastLED.h:280