diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-12-21 22:19:59 +0000 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-12-21 22:19:59 +0000 |
| commit | 4f5fcf039953cbfbae689f9a433c8f9cd36348c8 (patch) | |
| tree | 561ce38c5656e488cfaaf867d7f64ddf6082b48e /examples | |
| parent | 229b0d874c5370fe4b50988dd9a17ff8248068ed (diff) | |
Christmas DMA core tweaks
Bring back support to change the I2S_NUM_X as a define.
Attempt to reduce buffer swap flicker with some additional checks.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/1_SimpleTestShapes/1_SimpleTestShapes.ino | 9 | ||||
| -rw-r--r-- | examples/README.md | 5 |
2 files changed, 7 insertions, 7 deletions
diff --git a/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino b/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino index cfcd768..db3b0d1 100644 --- a/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino +++ b/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino @@ -143,11 +143,11 @@ uint8_t wheelval = 0; void loop() { // animate by going through the colour wheel for the first two lines - //drawText(wheelval); - //wheelval +=1; - - //delay(20); + drawText(wheelval); + wheelval +=1; + delay(20); +/* drawText(0); delay(2000); dma_display->clearScreen(); @@ -161,5 +161,6 @@ void loop() { delay(2000); dma_display->fillScreen(myWHITE); dma_display->clearScreen(); + */ } diff --git a/examples/README.md b/examples/README.md index 9144af8..2acbd79 100644 --- a/examples/README.md +++ b/examples/README.md @@ -8,7 +8,6 @@ |BitmapIcons |Simple example of how to display a bitmap image to the display. | |ChainedPanels |Popular example on how to use the 'VirtualDisplay' class to chain multiple LED Matrix Panels to form a much bigger display! Refer to the README within this example's folder! | |ChainedPanelsAuroraDemo |As above, but showing a large trippy plasma animation. | -|Smooth Double Buffer |Example of using a back-buffer (double buffering). Not useful in 99.9% of use-cases of this library. Uses double the SRAM as well. | -|One_Quarter_1_4_ScanPanel |Using this library with a 32w x 16h 1/4 Scan LED Matrix Panel. Custom co-ordinate remapping logic required. | -|One_Eighth_1_8_ScanPanel |Using this library with a 64w x 32h 1/8 Scan LED Matrix Panel. Custom co-ordinate remapping logic required. +|One_Quarter_1_4_ScanPanel |Using this library with a 32w x 16h 1/4 Scan LED Matrix Panel. Custom co-ordinate remapping logic required. | +|One_Eighth_1_8_ScanPanel |Using this library with a 64w x 32h 1/8 Scan LED Matrix Panel. Custom co-ordinate remapping logic required. |PIO_TestPatterns |Non-Arduino example of how to display basic shapes. | |
