diff --git a/Sming/Libraries/MPU6050/README.md b/Sming/Libraries/MPU6050/README.rst similarity index 74% rename from Sming/Libraries/MPU6050/README.md rename to Sming/Libraries/MPU6050/README.rst index 68c01c3f30..cd6dd4bb30 100644 --- a/Sming/Libraries/MPU6050/README.md +++ b/Sming/Libraries/MPU6050/README.rst @@ -1,6 +1,11 @@ -# MPU6050 Six-Axis (Gyro + Accelerometer) +API Documentation +----------------- + +.. doxygenclass:: MPU6050 + :members: -Based on code from [jrowberg/i2cdevlib](https://github.com/jrowberg/i2cdevlib/tree/master/ESP32_ESP-IDF/components/MPU6050). Most of the code is the same, except: +# MPU6050 Six-Axis (Gyro + Accelerometer) +Based on code from [jrowberg/i2cdevlib](https://github.com/jrowberg/i2cdevlib/tree/master/ESP32_ESP-IDF/components/MPU6050) @ 605a740. Most of the code is the same, except: - Removed MPU6050::ReadRegister function due to incompatibility. It is also not used anywhere in the original code. - MPU6050_6Axis_MotionApps20.h and MPU6050_9Axis_MotionApps41.h are not included due to deps to freeRTOS. helper_3dmath.h is also not included since it is only used in the above mentioned files.