Pages: [1]   Go Down
Author Topic: EEPROM on the ATMega328P  (Read 861 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
*
Karma: 20
Posts: 2115
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
Online Online
Brattain Member
*****
Karma: 551
Posts: 46254
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: 180
Posts: 8107
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

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Edison Member
*
Karma: 20
Posts: 2115
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

useful to know... thanks
Logged

Pages: [1]   Go Up
Jump to: