diff options
| author | Lukaswnd <lukas.windeln@rwth-aachen.de> | 2024-01-18 12:33:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-18 12:33:38 +0100 |
| commit | 75e9478e7f98c063e98c1ce97b1011eee3afa840 (patch) | |
| tree | 6da7c222d62064263981978d7b5c8eea6dedfa75 /examples/PIO_TestPatterns/src/main.cpp | |
| parent | 692078352e51166194b916115dce9ba8a80d41fd (diff) | |
Add width() and height() for NO_GFX
add int16_t width() and int16_t height(), when NO_GFX is enabled.
you also could get the dimesions the following way
height = matrix.getCfg().mx_height;
width = matrix.getCfg().mx_width * matrix.getCfg().chain_length;
but I think the new funktions are simpler
Diffstat (limited to 'examples/PIO_TestPatterns/src/main.cpp')
0 files changed, 0 insertions, 0 deletions
