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

◆ createTyped()

template<typename Controller>
fl::unique_ptr< CLEDController > LegacyClocklessProxy::createTyped ( CRGB * leds,
int numLeds,
bool rgbw )
inlineprivate

Definition at line 146 of file LegacyClocklessProxy.h.

147 {
149 FastLED.addLeds(c.get(), leds, numLeds);
150 if (rgbw) {
151 c->setRgbw(RgbwDefault());
152 }
153 return c;
154 }
CRGB leds[1]
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Rgbw rgbw
::CLEDController & addLeds(::CLEDController *pLed, CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0) FL_NO_EXCEPT
Add a CLEDController instance to the world.
fl::enable_if<!fl::is_array< T >::value, unique_ptr< T > >::type make_unique(Args &&... args) FL_NO_EXCEPT
Definition unique_ptr.h:263

References FastLED, leds, fl::adl_barrier::make_unique(), and rgbw.

Referenced by create().

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