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

◆ setLeds() [2/2]

CLEDController & fl::CLEDController::setLeds ( fl::span< CRGB > leds)
inline

Set the default array of LEDs to be used by this controller (span version)

Parameters
ledsspan of LED data

Definition at line 336 of file cled_controller.h.

336 {
337 mLeds = leds;
338 return *this;
339 }
CRGB * leds() FL_NO_EXCEPT
Pointer to the CRGB array for this controller.
fl::span< CRGB > mLeds
span of LED data used by this controller

References CLEDController(), fl::FL_NO_EXCEPT, leds(), and mLeds.

+ Here is the call graph for this function: