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

◆ XYsafe()

uint16_t XYsafe ( uint8_t x,
uint8_t y )
Examples
XYMatrix.ino.

Definition at line 175 of file XYMatrix.ino.

176{
177 if( x >= kMatrixWidth) return -1;
178 if( y >= kMatrixHeight) return -1;
179 return XY(x,y);
180}
int y
Definition simple.h:93
int x
Definition simple.h:92
#define kMatrixHeight
#define kMatrixWidth
FL_OPTIMIZATION_LEVEL_O3_BEGIN fl::u16 XY(fl::u8 x, fl::u8 y) FL_LINK_WEAK
Definition blur.cpp.hpp:35

References kMatrixHeight, kMatrixWidth, x, XY(), and y.

+ Here is the call graph for this function: