EEPROM Read
The microcontroller on the Arduino boards have 512 bytes of EEPROM: memory whose values are kept when the board is turned off (like a tiny hard drive).
This example illustrates how to read the value of each byte EEPROM using the EEPROM.read() function, and how to print those values to the serial window of the Arduino Software (IDE).
Hardware Required
- Arduino Board
Circuit
There is no circuit for this example.
image developed using Fritzing. For more circuit examples, see the Fritzing project page
Schematics
image developed using Fritzing. For more circuit examples, see the Fritzing project page
Code
See also
EEPROM Clear - Fills the content of the EEPROM memory with "0".
EEPROM Write - Stores values read from A0 into EEPROM.
EEPROM Crc - Calculates the CRC of EEPROM contents as if it was an array.
EEPROM Iteration - Programming examples on how to go through the EEPROM memory locations.
EEPROM Put - Put values in EEPROM using variable semantics (differs from EEPROM.write() ).
EEPROM Get - Get values from EEPROM and prints as float on serial.
EEPROM Update - Stores values read from A0 into EEPROM, writing the value only if different, to increase EEPROM life.
Last revision 2018/05/17 by SM