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

◆ at() [1/2]

Tile2x2_u8_wrap::Data & fl::Tile2x2_u8_wrap::at ( uint16_t x,
uint16_t y )

Definition at line 57 of file tile2x2.cpp.

57 {
58 // Wrap around the edges
59 x = (x + 2) % 2;
60 y = (y + 2) % 2;
61 return tile[y][x];
62}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:82
uint32_t y[NUM_LAYERS]
Definition Fire2023.ino:83
Data tile[2][2]
Definition tile2x2.h:105

References tile, x, and y.

Referenced by Tile2x2_u8_wrap(), Tile2x2_u8_wrap(), and loop().

+ Here is the caller graph for this function: