FastLED 3.10.6
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 337 of file cled_controller.h.

337 {
338 mLeds = leds;
339 return *this;
340 }
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: