I am buliding a Guitar-Effect-like box to control 60 WS2812B LED’s with an Arduino Nano and FastLED.
There is a LCD Display and several buttons connected to control and alter the running animations.
With all the libraries installed I suspect I will run into a memory issue sooner or later.
So I was wondering if there is a way to save the animations (functions) onto a sd card and read them, when they are needed.
I am aware that glediator can do this, but its output file is a binary one and I need to change some parameter of the function on the fly (like timing etc.) and I would guess the glediator-file contains only the information sequentially.
Wild guess would attempt to load palette tables from SD cvs file and also load a 2nd file into a sequence array then use switch cases and execute desired anomations.
There are different solutions depending on how you want to do things and if you specifically want to use an SD card.
A Teensy 3.2 would give you a lot more memory so memory might not even be a factor.
Or everything could be generated procedurally on the fly thus memory is not such a factor.
Color palettes might help you have specific colors but keep memory low.
If you want set color patterns or exact timings of things then of course that info needs to be coded or saved somewhere which will start to take up memory.
If you specificlally want to use an SD card for saving the color/pattern data so things can be updated on that and not by reprogramming the Nano(controller) then that’s a valid option too.
Colors/patterns/sequencing/timing can also be generated manually or by other programs besides Glediator in other formats then binary.
It all depends on what your end goals or needs are that will guide how you set things up.
Ok, it turns out that I have enough memory for what I want to do but the Teensy seems to be an easy option. Do you know if I can use my code from Arduino for Teensy?