FastLED 3.10.6
Loading...
Searching...
No Matches

◆ XYsafe()

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

Definition at line 188 of file XYMatrix.ino.

189{
190 if( x >= kMatrixWidth) return -1;
191 if( y >= kMatrixHeight) return -1;
192 return XY(x,y);
193}
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: