From 8c4ee1e4e8d9211a1a533040478cef4bb4b77742 Mon Sep 17 00:00:00 2001 From: Qian Qian Date: Tue, 7 Nov 2023 15:24:35 +0100 Subject: [PATCH] Update readme format --- Sming/Libraries/MPU6050/README.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Sming/Libraries/MPU6050/README.rst b/Sming/Libraries/MPU6050/README.rst index ee201c2f9a..0f4282007d 100644 --- a/Sming/Libraries/MPU6050/README.rst +++ b/Sming/Libraries/MPU6050/README.rst @@ -1,14 +1,20 @@ -API Documentation ------------------ +MPU6050 Gyro / Accelerometer +============================= -.. doxygenclass:: MPU6050 :members: # 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: +Based on code from `jrowberg/i2cdevlib ` @ 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. - Removed map function in favor of the Sming built-in one. - Adapted include path, coding style and applied clangformat - Deleted Calibration and Memory Block related code for code quality reason + + +API Documentation +----------------- + +.. doxygenclass:: MPU6050 + :members: