diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-04-12 13:02:47 +0100 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-04-12 13:02:47 +0100 |
| commit | 18464e068e46d3df7646efa36ec1e5a405aca935 (patch) | |
| tree | 5fdbefd245fb76e64e74de6de2e97ab405566996 | |
| parent | 6180fe6e07a6e5defb04ff7a78f6f76ee4918923 (diff) | |
Documentation updates
| -rw-r--r-- | examples/AnimatedGIFPanel/AnimatedGIFPanel.ino | 2 | ||||
| -rw-r--r-- | examples/ChainedPanels/ChainedPanels.ino | 6 | ||||
| -rw-r--r-- | examples/ChainedPanels/VirtualMatrixPanel.odp | bin | 118304 -> 129540 bytes | |||
| -rw-r--r-- | examples/ChainedPanels/VirtualMatrixPanel.pdf | bin | 584700 -> 372927 bytes |
4 files changed, 6 insertions, 2 deletions
diff --git a/examples/AnimatedGIFPanel/AnimatedGIFPanel.ino b/examples/AnimatedGIFPanel/AnimatedGIFPanel.ino index 83cd1dc..a90d8f9 100644 --- a/examples/AnimatedGIFPanel/AnimatedGIFPanel.ino +++ b/examples/AnimatedGIFPanel/AnimatedGIFPanel.ino @@ -95,7 +95,7 @@ void GIFDraw(GIFDRAW *pDraw) if (iCount) // any opaque pixels? { for(int xOffset = 0; xOffset < iCount; xOffset++ ){ - dma_display.drawPixelRGB565(x + xOffset, y, usTemp[xOffset]); + dma_display.drawPixel(x + xOffset, y, usTemp[xOffset]); // 565 Color Format } x += iCount; iCount = 0; diff --git a/examples/ChainedPanels/ChainedPanels.ino b/examples/ChainedPanels/ChainedPanels.ino index 2f19775..33379c6 100644 --- a/examples/ChainedPanels/ChainedPanels.ino +++ b/examples/ChainedPanels/ChainedPanels.ino @@ -141,6 +141,10 @@ #define NUM_COLS 2 // Number of INDIVIDUAL PANELS per ROW #define PANEL_CHAIN NUM_ROWS*NUM_COLS // total number of panels chained one to another +// Change this to your needs, for details on VirtualPanel pls read the PDF! +#define SERPENT true +#define TOPDOWN false + // library includes #include <ESP32-VirtualMatrixPanel-I2S-DMA.h> @@ -199,7 +203,7 @@ void setup() { Serial.println("****** !KABOOM! I2S memory allocation failed ***********"); // create VirtualDisplay object based on our newly created dma_display object - virtualDisp = new VirtualMatrixPanel((*dma_display), NUM_ROWS, NUM_COLS, PANEL_RES_X, PANEL_RES_Y, true); + virtualDisp = new VirtualMatrixPanel((*dma_display), NUM_ROWS, NUM_COLS, PANEL_RES_X, PANEL_RES_Y, SERPENT, TOPDOWN); // So far so good, so continue virtualDisp->fillScreen(virtualDisp->color444(0, 0, 0)); diff --git a/examples/ChainedPanels/VirtualMatrixPanel.odp b/examples/ChainedPanels/VirtualMatrixPanel.odp Binary files differindex 8245a1a..c0b2082 100644 --- a/examples/ChainedPanels/VirtualMatrixPanel.odp +++ b/examples/ChainedPanels/VirtualMatrixPanel.odp diff --git a/examples/ChainedPanels/VirtualMatrixPanel.pdf b/examples/ChainedPanels/VirtualMatrixPanel.pdf Binary files differindex c0220a7..cddb4ea 100644 --- a/examples/ChainedPanels/VirtualMatrixPanel.pdf +++ b/examples/ChainedPanels/VirtualMatrixPanel.pdf |
