Go Down

Topic: Help with big arrays (Read 542 times) previous topic - next topic

|systemx

Hello all,
I am working on my 5x5x5 LED cube and I starter writing some animations for it.
Every frame takes about 25 bytes and when I got to about 40-50 frames the program stopped working. I tried using const but it didn't work.

So is there a way I can use the flash memory to store big arrays of bytes?
Or I will need to use some external memory?

wayoda

If youre your frames are constant arrays of data read this:
http://
http://www.arduino.cc/en/Reference/PROGMEM


Eberhard

|systemx

Thank you, thats helps a lot!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy