I am making an LED strip flash through a rainbow, but it had to calculate the next value of the rainbow for red, blue, and green for every step. Now I made a for loop that can run in setup that generates a lookup table for all RGB values (IE, colors[LED][R/G/B] ) which DEFINITELY speeds it up.
However, it also brings the dynamic memory for the sketch up to 76%, and I have other plans as well. After the lookup table is generated, it wont be changed again. could I move it into project memory after it's generated?