From f32c46e7467ec75e3a85598a1f41d469990e8e8b Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Wed, 16 Dec 2020 17:52:11 +0000 Subject: [PATCH] Update ESP32-HUB75-MatrixPanel-I2S-DMA.h --- ESP32-HUB75-MatrixPanel-I2S-DMA.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/ESP32-HUB75-MatrixPanel-I2S-DMA.h index b86cb1e..b09270e 100644 --- a/ESP32-HUB75-MatrixPanel-I2S-DMA.h +++ b/ESP32-HUB75-MatrixPanel-I2S-DMA.h @@ -25,11 +25,12 @@ * */ #ifndef MATRIX_WIDTH - #define MATRIX_WIDTH 64 // CHANGE THIS VALUE IF CHAINING + #define MATRIX_WIDTH 64 // Single panel of 64 pixel width + // #define MATRIX_WIDTH 64*4 // Example of chaining four (4) panels. Need to multiply the width. #endif #ifndef MATRIX_HEIGHT - #define MATRIX_HEIGHT 32 // CHANGE THIS VALUE ONLY IF USING 64px HIGH panel with E PIN + #define MATRIX_HEIGHT 32 // CHANGE THIS VALUE to 64 IF USING 64px HIGH panel(s) with E PIN #endif /* Best to keep these values as is. */ @@ -491,4 +492,4 @@ inline void MatrixPanel_I2S_DMA::drawIcon (int *ico, int16_t x, int16_t y, int16 } -#endif \ No newline at end of file +#endif