diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2020-07-29 23:29:42 +0100 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2020-07-29 23:29:42 +0100 |
| commit | d623f181a953529fa9e5b5c01e1b6123009f6e34 (patch) | |
| tree | 128dcda8a393398b06f4adc316933dd404dc6549 /examples | |
| parent | cb6f73558b6a0cb20b7a349c5912a99f4c18b142 (diff) | |
Fix examples for new version
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/Buffer_Swap_Test/Buffer_Swap_Test.ino | 2 | ||||
| -rw-r--r-- | examples/testshapes_32x64/testshapes_32x64.ino | 19 |
2 files changed, 1 insertions, 20 deletions
diff --git a/examples/Buffer_Swap_Test/Buffer_Swap_Test.ino b/examples/Buffer_Swap_Test/Buffer_Swap_Test.ino index 0a11248..7b0e383 100644 --- a/examples/Buffer_Swap_Test/Buffer_Swap_Test.ino +++ b/examples/Buffer_Swap_Test/Buffer_Swap_Test.ino @@ -1,6 +1,6 @@ #include <ESP32-RGB64x32MatrixPanel-I2S-DMA.h> -RGB64x32MatrixPanel_I2S_DMA display; // RGB Panel +RGB64x32MatrixPanel_I2S_DMA display(true); // Note the TRUE -> Turns of secondary buffer const byte row0 = 2+0*10; const byte row1 = 2+1*10; diff --git a/examples/testshapes_32x64/testshapes_32x64.ino b/examples/testshapes_32x64/testshapes_32x64.ino index de911fc..b09bfad 100644 --- a/examples/testshapes_32x64/testshapes_32x64.ino +++ b/examples/testshapes_32x64/testshapes_32x64.ino @@ -17,25 +17,6 @@ void setup() { dma_display.begin(); - for (int y = 0; y < dma_display.height(); y++) - { - dma_display.drawFastHLine(0, y-1, dma_display.width(), dma_display.color565(255-(15*y), 0, 0)); - delay(100); - } - - delay(1000); - - - for (int y = 0; y < dma_display.height(); y++) - { - dma_display.drawFastHLine(0, y-1, dma_display.width(), dma_display.color565(128, 255-(15*y), 0)); - delay(100); - } - - delay(2000); - - - // draw a pixel in solid white dma_display.drawPixel(0, 0, dma_display.color444(15, 15, 15)); delay(500); |
