FastLED 3.9.15
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 242 of file cled_controller.h.

242 {
243 mLeds = leds;
244 return *this;
245 }
CRGB * leds() FL_NOEXCEPT
Pointer to the CRGB array for this controller.
fl::span< CRGB > mLeds
span of LED data used by this controller

References CLEDController(), FL_NOEXCEPT, leds(), and mLeds.

+ Here is the call graph for this function: