Group Projects
Members' Projects
Saving Memory on the Arduino using PROGMEM
deece — Sat, 12/12/2009 - 1:14pm
Getting stuck into my LED matrix project, I soon ran into memory problems on the Arduino.
It turns out you can stick constant data into program memory using the PROGMEM directive, with macros provided to get it back out without having to have everything residing in RAM simultaneously.
There is a good tutorial on how to use it on the AVRFreaks forums.
- Login or register to post comments
- Printer-friendly version
Search
Member Tweets
evildeece
1 hour 59 min ago
—
Spray on clothing! http://t.co/djQzAie7 #mhv
|
MakeHackVoid
2 hours 6 min ago
—
Space is closed (was open 7 hours)
|
evildeece
2 hours 22 min ago
—
3D printed RC plane http://t.co/8LCfuR3C #mhv
|
evildeece
2 hours 26 min ago
—
21 more MHVBoard #arduino clones packed up and ready to go to local school & uni #mhv
|
MakeHackVoid
9 hours 11 min ago
—
Space is open until 22:00 (estimate)
|
projectgus
12 hours 32 min ago
—
Club Mate induced madness MT @dev_dsp @MakeHackVoid It tastes like ground! and like tea! and like ground! Pretty much the best thing ever.
|
|
dev_dsp
13 hours 14 min ago
—
@MakeHackVoid It tastes like ground! and like tea! and like ground! It's pretty much the best thing ever.
|
MakeHackVoid
13 hours 16 min ago
—
Also there are rumours of @dev_dsp's "weird European hacker juice"
|
MakeHackVoid
13 hours 18 min ago
—
Rumour has it that tonight's Maker Meetup will include an electric motorcycle, RepRap 3d printer, and SMD oven! Come! http://t.co/vmahKECz
|
evildeece
17 hours 47 min ago
—
OK Go's new music vid, using a car to play over 1000 instruments: http://t.co/Qca3G1Eu #mhv
|
- 1 of 12
- ››




a patch to free up some SRAM
Adam — Sat, 12/12/2009 - 7:57pmThe hardware serial library uses a fairly large amount of ram for the receive buffer. You can save ~100Bytes by cutting it down.
http://www.adafruit.com/blog/2008/04/17/free-up-some-arduino-sram/