FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setLeds()

CLEDController & 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 163 of file cled_controller.h.

163 {
164 m_Data = data;
165 m_nLeds = nLeds;
166 return *this;
167 }
CRGB * m_Data
pointer to the LED data used by this controller
int m_nLeds
the number of LEDs in the LED data array

References CLEDController(), m_Data, and m_nLeds.

Referenced by CFastLED::addLeds().

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