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.hpp.

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

References mLeds, mXyMap, and fl::y.