Loading...
Pages: [1]   Go Down
Author Topic: EEPROM on the ATMega328P  (Read 509 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
God Member
*****
Karma: 10
Posts: 863
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Apparently, I have 1K of EEPROM, I always thought that was where you stick your compiled binary? if not, what's it used for?
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 311
Posts: 35470
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I always thought that was where you stick your compiled binary?
It isn't.

Quote
if not, what's it used for?
Storing other data that you want to persist when the power is lost/the Arduino resets.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 96
Posts: 6339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Unlike the Flash memory (used for your compiled binary) you can write to the EEPROM from your application.  And unlike the RAM it will stay set when the power is off.
Logged

Offline Offline
God Member
*****
Karma: 10
Posts: 863
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

useful to know... thanks
Logged

Pages: [1]   Go Up
Print
 
Jump to: