EEPROM write,read
Overview
After the application starts, perform the following operations:
Initialize I2C controller drive and EEPROM device drive
Write a string from the EEPROM internal offset of 5
Read a string from the EEPROM internal offset of 5
Requirements
Demo uses EVB Board, EEPROM model is NV24C02, and I2C address on this board is 0x52; When using other board and EEPROM models, pay attention to modifying the configuration in the device table.
Building and flashing
Example location: examples/peripheral/eeprom
Other exampleexamples/peripheral/i2c
For operations such as compiling and burning, please refer to: [Quick Start] (../../../../get_started/index. html # build function)