Pages: [1]   Go Down
Author Topic: EEPROM on the ATMega328P  (Read 852 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
*
Karma: 20
Posts: 2111
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: 549
Posts: 46071
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: 179
Posts: 8070
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: 2111
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

useful to know... thanks
Logged

Pages: [1]   Go Up
Jump to: