feat(example): Add a I2C Simple example

Merges https://github.com/espressif/esp-idf/pull/14315
Closes https://github.com/espressif/esp-idf/issues/14902
This commit is contained in:
Vinícius de Assis Madruga Prestes
2024-08-06 13:01:53 -03:00
committed by morris
parent 2b8c581e30
commit 2f5fcf276c
8 changed files with 187 additions and 0 deletions
@@ -600,6 +600,8 @@ Kconfig 选项
应用示例
--------
- :example:`peripherals/i2c/i2c_basic` 演示了初始化 I2C 主机驱动程序并从 MPU9250 传感器读取数据的基本步骤。
- :example:`peripherals/i2c/i2c_eeprom` 演示了如何使用 I2C 主机模式从连接的 EEPROM 读取和写入数据。
- :example:`peripherals/i2c/i2c_tools` 演示了如何使用 I2C 工具开发 I2C 相关的应用程序,提供了用于配置 I2C 总线、扫描设备、读取、设置和检查寄存器的命令行工具。