From 4f5fcf039953cbfbae689f9a433c8f9cd36348c8 Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Tue, 21 Dec 2021 22:19:59 +0000 Subject: 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. --- examples/1_SimpleTestShapes/1_SimpleTestShapes.ino | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'examples/1_SimpleTestShapes') 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(); + */ } -- cgit 1.4.1