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

◆ operator[]() [2/2]

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

Definition at line 38 of file leds.cpp.

38 {
39 FASTLED_ASSERT(mXyMap.isSerpentine() || mXyMap.isLineByLine(),
40 "XYMap is not serpentine or line by line");
41 return &mLeds[mXyMap(0, y)];
42}
int y
Definition Audio.ino:72
XYMap mXyMap
Definition leds.h:52
CRGB * mLeds
Definition leds.h:53

References mLeds, mXyMap, and y.