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

235 {
236 mLeds = fl::span<CRGB>(data, nLeds);
237 return *this;
238 }
fl::span< CRGB > mLeds
span of LED data used by this controller

References CLEDController(), FL_NOEXCEPT, 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: