From 2a86ddbd5faa57da5826ed49ba89540ed4ddabf1 Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Mon, 25 Jul 2016 21:37:01 -0700 Subject: [PATCH] Fix PlasmaAnimation example --- examples/PlasmaAnimation/PlasmaAnimation.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/PlasmaAnimation/PlasmaAnimation.ino b/examples/PlasmaAnimation/PlasmaAnimation.ino index b4f3da1..edba8bf 100644 --- a/examples/PlasmaAnimation/PlasmaAnimation.ino +++ b/examples/PlasmaAnimation/PlasmaAnimation.ino @@ -9,7 +9,7 @@ //OctoWS2811 Defn. Stuff #define COLS_LEDs 60 // all of the following params need to be adjusted for screen size #define ROWS_LEDs 16 // LED_LAYOUT assumed 0 if ROWS_LEDs > 8 -#define LEDS_PER_STRIP (COLS_LEDs * (ROWS_LEDs / 6)) +#define LEDS_PER_STRIP (COLS_LEDs * (ROWS_LEDs / 8)) DMAMEM int displayMemory[LEDS_PER_STRIP*6]; int drawingMemory[LEDS_PER_STRIP*6];