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 164 of file cled_controller.h.

164 {
165 m_Data = data;
166 m_nLeds = nLeds;
167 return *this;
168 }
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: