ESP32 full library for all MPU6000 MPU6050 MPU6500 MPU9150 MPU9250 with SPI and I2C support and more.
249
stars
67
forks
source link
setAuxI2CEnabled should also get enabled for units with Compass working in I2C mode #7
Open
dmarszk opened 6 years ago
Currently only when operating the MPU through SPI, I2C AUX mode is enabled automatically during initialization. When operating through I2C, the application has to do it to enable readouts from the compass. https://github.com/natanaeljr/esp32-MPU-driver/blob/82a609236b7773ceaafc11f817ca117371314ce2/src/MPU.cpp#L1785