Using the EEPROM

The demo code uses EEPROM "cell" 0.  Is it safe to assume that all of the EEPROM is available for user data?  It looks like there are 4096 bytes available.

Michael Mesford
Michael Mesford
37
| 2 1 2
Asked on 9/25/16, 11:01 PM
0
vote
2788 Views

Hi Michael,

The EEPROM is on the MCU so we have:

  • 32u4 (Leonardo) topboard: 1Kb = 1024 bytes
  • 1286 topboard: 4Kb = 4096 bytes

You can check this with EEPROM.length() as you probably did.

Tom
Tom
5675
| 1 1 3
Answered on 9/27/16, 1:25 AM
1
vote

Tom, thanks.  I hadn't realized the arduino boards had EEPROM memory available for user data.  This opens up a whole new world!

Michael Mesford
Michael Mesford
37
| 2 1 2
Answered on 9/27/16, 3:41 AM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

30 follower(s)

Stats

Asked: 9/25/16, 11:01 PM
Seen: 2788 times
Last updated: 9/27/16, 3:41 AM