From c7ab90a32612191cb1adfe6f204c17153055519c Mon Sep 17 00:00:00 2001 From: Stefan Heinrichsen Date: Sat, 29 Dec 2018 20:54:15 +0100 Subject: [PATCH] small corrections and adjusted animation playlist and speeds --- UNHB-Esel/FileHandling.ino | 3 +-- UNHB-Esel/UNHB-Esel.ino | 34 +++++++++++++++++++--------------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/UNHB-Esel/FileHandling.ino b/UNHB-Esel/FileHandling.ino index 1ad61c6..43d5f2f 100644 --- a/UNHB-Esel/FileHandling.ino +++ b/UNHB-Esel/FileHandling.ino @@ -155,7 +155,6 @@ void playWideFile(char* file, int framespeed) { uint32_t rgb = strtol(rgbStr.c_str(), NULL, 16); anim[i*8+j] = new RgbColor(rgb & 0xFF, rgb>>8 & 0xFF, rgb>>16); strip.SetPixelColor( i*8+j , *anim[i*8+j]); - strip.SetPixelColor( 64+i*8+j , *anim[i*8+j]); } line = f.readStringUntil('\n'); } @@ -163,7 +162,7 @@ void playWideFile(char* file, int framespeed) { delay(framespeed); if(frame