Open rtek1000 opened 6 years ago
Well... I just ported the code from the driver of another chip. ESP32 only has two hardware I2C ports. In theory one I2C master can connect to any number of I2C slaves as long as their addresses are different. Also, putting MPU6050 in master mode is also a idea worth trying.
Yes, it would be great to have a library that can work with the auxiliary I2C port, although it is something simple I did not find any example of using this auxiliary port.
Is there an example with the MPU operating with a DS3231 or DS1307?
The DS1307 has the same address as the MPU, so it is interesting to use the auxiliary I2C port.
Datasheet says: