FastLED 3.10.8
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 329 of file cled_controller.h.

329 {
330 mLeds = fl::span<CRGB>(data, nLeds);
331 return *this;
332 }
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: