FastLED 3.10.6
Loading...
Searching...
No Matches

◆ operator[]()

CRGB & fl::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::mLeds[x]

Definition at line 395 of file cled_controller.h.

395{ return mLeds[x]; }
fl::span< CRGB > mLeds
span of LED data used by this controller

References fl::FL_NO_EXCEPT, mLeds, and fl::x.