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

◆ operator[]() [1/2]

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

Definition at line 31 of file leds.cpp.

31 {
32 FASTLED_ASSERT(mXyMap.isSerpentine() || mXyMap.isLineByLine(),
33 "XYMap is not serpentine or line by line");
34 return &mLeds[mXyMap(0, y)];
35}
int y
Definition simple.h:93
XYMap mXyMap
Definition leds.h:54
CRGB * mLeds
Definition leds.h:55

References mLeds, mXyMap, and y.