Introduction - If you have any usage issues, please Google them yourself
AT24C02 external EEPROM test program
1, description of the procedures:
This routine demonstrates the external EEPROM test chip on the port, the EEPROM for the I2C interface,
The use of single-chip communication port to realize I2C protocol simulation, write a page of data in a EEPROM program,
Then the page data read, read and write if EEPROM fails, then the digital tube display Error ,
If the test is successful, then the CorrECt in the digital tube display .
2, experimental operation
The dial switch SMG S10 end of the ON to the side, indicating that the end is connected.
At the same time, the other end of the dial switch is in a disconnected state, that is, the switch is not transferred to the ON terminal.
Otherwise, it will affect the experimental results.