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).
A CRC is a simple way of checking whether data has changed or become corrupted. This example calculates a CRC value directly on the EEPROM values. This CRC is like a signature and any change in the calculated CRC means a change in the stored data. The purpose of this example is to highlight how the EEPROM object can be used just like an array.
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