New Need Help Reducing Code Size

If you want to store the color of each pixel then you need 580 x 3 = 1740 bytes. That's already consuming 85% of your RAM leaving not much for the rest.

Now you have two options:

  • Don't store the color of each led. You might be able to reuse memory (led's with same color or calculating on the fly)
  • Use a micro with more RAM