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

◆ operator()() [1/2]

CRGB & fl::Leds::operator() ( int x,
int y )

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

12 {
13 if (!mXyMap.has(x, y)) {
14 return empty();
15 }
16 return mLeds[mXyMap(x, y)];
17}
fl::span< CRGB > mLeds
Definition leds.h:57
XYMap mXyMap
Definition leds.h:56
static CRGB & empty()
Definition leds.cpp.hpp:19

References empty(), mLeds, mXyMap, fl::x, and fl::y.

+ Here is the call graph for this function: