Minor changes
This commit is contained in:
parent
511b6e50f8
commit
12fde7fa64
2 changed files with 10 additions and 14 deletions
|
@ -370,6 +370,11 @@ void RGB64x32MatrixPanel_I2S_DMA::configureDMA(int r1_pin, int g1_pin, int b1_
|
||||||
|
|
||||||
#if SERIAL_DEBUG
|
#if SERIAL_DEBUG
|
||||||
Serial.printf("configureDMA(): Configured LL structure. %d DMA Linked List descriptors populated.\r\n", current_dmadescriptor_offset);
|
Serial.printf("configureDMA(): Configured LL structure. %d DMA Linked List descriptors populated.\r\n", current_dmadescriptor_offset);
|
||||||
|
|
||||||
|
if ( desccount != current_dmadescriptor_offset)
|
||||||
|
{
|
||||||
|
Serial.printf("configureDMA(): ERROR! Expected descriptor count of %d != actual DMA descriptors of %d!\r\n", desccount, current_dmadescriptor_offset);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
dmadesc_a[desccount-1].eof = 1;
|
dmadesc_a[desccount-1].eof = 1;
|
||||||
|
|
|
@ -24,22 +24,13 @@
|
||||||
* All of this is memory permitting of course (dependant on your sketch etc.) ...
|
* All of this is memory permitting of course (dependant on your sketch etc.) ...
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifndef MATRIX_HEIGHT
|
#define MATRIX_WIDTH 64 // CHANGE THIS VALUE IF CHAINING
|
||||||
#define MATRIX_HEIGHT 32
|
#define MATRIX_HEIGHT 32 // CHANGE THIS VALUE ONLY IF USING 64px HIGH panel with E PIN
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef MATRIX_WIDTH
|
|
||||||
#define MATRIX_WIDTH 64
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PIXEL_COLOR_DEPTH_BITS
|
|
||||||
#define PIXEL_COLOR_DEPTH_BITS 8 // 8bit per RGB color = 24 bit/per pixel, reduce to save RAM
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef MATRIX_ROWS_IN_PARALLEL
|
|
||||||
#define MATRIX_ROWS_IN_PARALLEL 2 // Don't change this unless you know what you're doing
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
/* Best to keep these values as is. */
|
||||||
|
#define PIXEL_COLOR_DEPTH_BITS 8 // 8bit per RGB color = 24 bit/per pixel, reduce to save RAM
|
||||||
|
#define MATRIX_ROWS_IN_PARALLEL 2 // Don't change this unless you know what you're doing
|
||||||
|
|
||||||
/* ESP32 Default Pin definition. You can change this, but best if you keep it as is and provide custom pin mappings
|
/* ESP32 Default Pin definition. You can change this, but best if you keep it as is and provide custom pin mappings
|
||||||
* as part of the begin(...) function.
|
* as part of the begin(...) function.
|
||||||
|
|
Loading…
Reference in a new issue