The microcontroller on the Arduino and Genuino boards have 512 bytes of EEPROM: memory whose values are kept when the board is turned off (like a tiny hard drive).
The purpose of this example is to show the EEPROM.put()
method that writes data on EEPROM using also the EEPROM.update() that writes data only if it is different from the previous content of the locations to be written. The number of bytes written is related to the datatype or custom structure of the variable to be written.
There is no circuit for this example.
image developed using Fritzing. For more circuit examples, see the Fritzing project page
image developed using Fritzing. For more circuit examples, see the Fritzing project page
Last revision 2018/05/17 by SM