FastLED 3.10.8
Loading...
Searching...
No Matches

◆ operator[]() [2/2]

CRGB * fl::Leds::operator[] ( int x)

Definition at line 32 of file leds.cpp.hpp.

32 {
33 FASTLED_ASSERT(mXyMap.isSerpentine() || mXyMap.isLineByLine(),
34 "XYMap is not serpentine or line by line");
35 return &mLeds[mXyMap(0, y)];
36}
fl::span< CRGB > mLeds
Definition leds.h:57
XYMap mXyMap
Definition leds.h:56

References fl::FL_NO_EXCEPT, mLeds, mXyMap, and fl::y.