The latest development version of this page may be more current than this released 0.4.0 version.

EEPROM write,read

Overview

After the application starts, perform the following operations:

  1. Initialize I2C controller drive and EEPROM device drive

  2. Write a string from the EEPROM internal offset of 5

  3. Read a string from the EEPROM internal offset of 5

Requirements

  1. 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)