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

◆ operator()() [1/2]

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

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

25 {
26 if (!mXyMap.has(x, y)) {
27 return empty();
28 }
29 return mLeds[mXyMap(x, y)];
30}
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: