Can I use a sdcard for holding led color values to get around SRAM limitations?

Whats the "10" in the 160 * 3 *10 * 300 formula represent?

Ah counted that twice it was 16 by 10 but I already covered that by the 160 sorry. It is still a lot of memory though.

There are two other things you can do to minimise the data you need to store.

  1. Set the LEDs in the buffer algorithmicley. That is write code that fills the buffer like you want. For example you only need four lines of code to set all the LEDs to a single colour or a range of LEDs. Your final pattern can be a call to each of these functions, like turn all LEDs off, fire a running slug in red to the end, and so on.

  2. You could compress the data. That is you have four bytes to define only the LEDs that change in the display from one frame to the next. The first byte is the LED number and the other three bytes the colour you want to change it to. The first byte in the frame is a count of how many LED changes there are. While this can use more data than storing each individual LED, normally it is a lot less and you can save a lot of storage space storing your patterns like this.