FastLED 3.10.6
Loading...
Searching...
No Matches

◆ setLeds() [1/2]

CLEDController & fl::CLEDController::setLeds ( CRGB * data,
int nLeds )
inline

Set the default array of LEDs to be used by this controller.

Parameters
datapointer to the LED data
nLedsthe number of LEDs in the LED data

Definition at line 330 of file cled_controller.h.

330 {
331 mLeds = fl::span<CRGB>(data, nLeds);
332 return *this;
333 }
fl::span< CRGB > mLeds
span of LED data used by this controller

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

Referenced by fl::Channel::Channel(), fl::Channel::Channel(), and fl::Channel::applyConfig().

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