FastLED 3.10.8
Loading...
Searching...
No Matches

◆ operator()() [2/2]

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

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

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

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

+ Here is the call graph for this function: