diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2020-07-04 10:56:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-04 10:56:57 +0100 |
| commit | b5b9ab763317d90075c9cc56307a12966a7753fe (patch) | |
| tree | 8c5b5b7001acee4ab3f409e9d42a295fc84ccc15 | |
| parent | 4faa28619848b17f604a096374fb64712c971b2e (diff) | |
| parent | b297b3ca671979d6c9df4d7317141fdd1bbd0d22 (diff) | |
Merge pull request #22 from adi961/master
define MATRIX_HEIGHT, MATRIX_WIDTH and MATRIX_ROWS_IN_PARALLEL only i…
| -rw-r--r-- | ESP32-RGB64x32MatrixPanel-I2S-DMA.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ESP32-RGB64x32MatrixPanel-I2S-DMA.h b/ESP32-RGB64x32MatrixPanel-I2S-DMA.h index 0b78993..09c3287 100644 --- a/ESP32-RGB64x32MatrixPanel-I2S-DMA.h +++ b/ESP32-RGB64x32MatrixPanel-I2S-DMA.h @@ -77,10 +77,17 @@ * All of this is memory permitting of course (dependant on your sketch etc.) ... * */ - +#ifndef MATRIX_HEIGHT #define MATRIX_HEIGHT 32 //64 +#endif + +#ifndef MATRIX_WIDTH #define MATRIX_WIDTH 64 +#endif + +#ifndef MATRIX_ROWS_IN_PARALLEL #define MATRIX_ROWS_IN_PARALLEL 2 +#endif /***************************************************************************************/ /* ESP32 Pin Definition. You can change this, but best if you keep it as is... */ |
