aboutsummaryrefslogtreecommitdiff
path: root/examples/1_SimpleTestShapes
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2021-12-21 22:19:59 +0000
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2021-12-21 22:19:59 +0000
commit4f5fcf039953cbfbae689f9a433c8f9cd36348c8 (patch)
tree561ce38c5656e488cfaaf867d7f64ddf6082b48e /examples/1_SimpleTestShapes
parent229b0d874c5370fe4b50988dd9a17ff8248068ed (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/1_SimpleTestShapes')
-rw-r--r--examples/1_SimpleTestShapes/1_SimpleTestShapes.ino9
1 files changed, 5 insertions, 4 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();
+ */
}