We’ll take a look at the I2C communication protocol with the ESP32 using Arduino IDE 2
This very simple sketch scans the I2C-bus for devices. If a device is found, it is reported to the Arduino serial monitor and to driver mpu6050 of I2C Bus for some information.
the ESP32 code is placed on my blog :
https://www-winson.blogspot.com/2023/...
#arduino #esp32 #rtc #i2c #mpu6050