Pages: [1]   Go Down
Author Topic: Help with big arrays  (Read 475 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 55
ME LIKE ARDUINO :p
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Eberhard
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 55
ME LIKE ARDUINO :p
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you, thats helps a lot!
Logged

Pages: [1]   Go Up
Jump to: