mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-05 12:25:03 +02:00
i2c: support i2c on esp32h2
This commit is contained in:
committed by
Kevin (Lao Kaiyao)
parent
d6d34b27a8
commit
5b3468ebb3
@@ -81,7 +81,7 @@ To run this example, you should have one ESP development board (e.g. ESP32-WROVE
|
||||
- Connection:
|
||||
- connect SDA/SCL of BH1750 sensor to GPIO5/GPIO6
|
||||
|
||||
**Note:** There is only one i2c device on esp32c3, so you can't try any master-slave example for esp32/s2 in this repo. But you can try external devices. If you find anything wrong with your device, please try connecting pull-up resistors by yourself.
|
||||
**Note:** There is only one i2c device on ESP32-C3/ESP32-C2/ESP32-H2, so it is not possible to perform any ESP32/ESP32-S2 self-test example from this repo. However it is possible to test I2C with external devices. If you find anything wrong with your device, please try connecting external pull-up resistors.
|
||||
|
||||
### Configure the project
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ If you have a new I2C application to go (for example, read the temperature data
|
||||
|
||||
### Hardware Required
|
||||
|
||||
To run this example, you should have one ESP32, ESP32-S or ESP32-C based development board as well as a MPU9250. MPU9250 is a inertial measurement unit, which contains a accelerometer, gyroscope as well as a magnetometer, for more information about it, you can read the [datasheet of the MPU9250 sensor](https://invensense.tdk.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf).
|
||||
To run this example, you should have one ESP32, ESP32-S, ESP32-C or ESP32-H based development board as well as a MPU9250. MPU9250 is a inertial measurement unit, which contains a accelerometer, gyroscope as well as a magnetometer, for more information about it, you can read the [datasheet of the MPU9250 sensor](https://invensense.tdk.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf).
|
||||
|
||||
#### Pin Assignment:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user