FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ operator[]()

CRGB & CLEDController::operator[] ( int x)
inline

Reference to the n'th LED managed by the controller.

Parameters
xthe LED number to retrieve
Returns
reference to CLEDController::m_Data[x]

Definition at line 187 of file cled_controller.h.

187{ return m_Data[x]; }
int x
Definition Audio.ino:71
CRGB * m_Data
pointer to the LED data used by this controller

References m_Data, and x.