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

◆ operator[]() [1/2]

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

Definition at line 30 of file leds.cpp.

30 {
31 FASTLED_ASSERT(mXyMap.isSerpentine() || mXyMap.isLineByLine(),
32 "XYMap is not serpentine or line by line");
33 return &mLeds[mXyMap(0, y)];
34}
uint32_t y[NUM_LAYERS]
Definition Fire2023.ino:83
XYMap mXyMap
Definition leds.h:52
CRGB * mLeds
Definition leds.h:53

References mLeds, mXyMap, and y.