This commit is contained in:
mrfaptastic 2021-08-16 13:29:44 +01:00
parent 6527907ac5
commit fd7629e52c
3 changed files with 3 additions and 4 deletions

View file

@ -351,6 +351,8 @@ class MatrixPanel_I2S_DMA {
/* Propagate the DMA pin configuration, allocate DMA buffs and start data ouput, initialy blank */
bool begin(){
if (initialized) return; // we don't do this twice or more!
// Change 'if' to '1' to enable, 0 to not include this Serial output in compiled program
#if SERIAL_DEBUG
Serial.printf_P(PSTR("Using pin %d for the R1_PIN\n"), m_cfg.gpio.r1);

View file

@ -111,9 +111,6 @@ void setup() {
dma_display->clearScreen();
dma_display->fillScreen(myWHITE);
//
dma_display->begin(); // use default pins
// fix the screen with green
dma_display->fillRect(0, 0, dma_display->width(), dma_display->height(), dma_display->color444(0, 15, 0));
delay(500);