From e8124e10fc9a080e819f55b14cadc9c74b993188 Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Wed, 29 Jul 2020 11:03:12 +0100 Subject: [PATCH] Update ESP32-RGB64x32MatrixPanel-I2S-DMA.h --- ESP32-RGB64x32MatrixPanel-I2S-DMA.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP32-RGB64x32MatrixPanel-I2S-DMA.h b/ESP32-RGB64x32MatrixPanel-I2S-DMA.h index a53a8c6..28ffbda 100644 --- a/ESP32-RGB64x32MatrixPanel-I2S-DMA.h +++ b/ESP32-RGB64x32MatrixPanel-I2S-DMA.h @@ -46,7 +46,7 @@ #define MATRIX_ROWS_IN_PARALLEL 2 #endif -#define MATRIX_COLOR_DEPTH (8*3) +#define PIXEL_COLOR_DEPTH_BITS 8 // 8bit per RGB color = 24 bit/per pixel, reduce to save RAM /***************************************************************************************/ /* ESP32 Pin Definition. You can change this, but best if you keep it as is... */ @@ -97,7 +97,7 @@ // RGB Panel Constants / Calculated Values #define COLOR_CHANNELS_PER_PIXEL 3 #define PIXELS_PER_ROW ((MATRIX_WIDTH * MATRIX_HEIGHT) / MATRIX_HEIGHT) // = 64 -#define PIXEL_COLOR_DEPTH_BITS (MATRIX_COLOR_DEPTH/COLOR_CHANNELS_PER_PIXEL) // = 8 +//#define PIXEL_COLOR_DEPTH_BITS (MATRIX_COLOR_DEPTH/COLOR_CHANNELS_PER_PIXEL) // = 8 #define ROWS_PER_FRAME (MATRIX_HEIGHT/MATRIX_ROWS_IN_PARALLEL) // = 16 /***************************************************************************************/