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

◆ operator[]() [2/2]

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

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

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

References mLeds, mXyMap, and fl::y.