Go Down

Topic: sd.open returns '0' ? (Read 933 times) previous topic - next topic

SurferTim

SRAM is data memory. The memory reported after a compile is program memory only. They are separate. An Uno has 2K SRAM. A Mega has 8K SRAM.

You can save SRAM (data memory) by keeping static strings in program memory instead of copying to SRAM. That is what the F() function does. You can see how to use it in the freeRam example above.

ixde

#6
May 08, 2013, 08:08 pm Last Edit: May 08, 2013, 08:36 pm by ixde Reason: 1
Works fine. thank you.

Go Up