imuCalibration.h 506 B

12345678910111213141516171819
  1. /*
  2. * @Author: Sorzn
  3. * @Date: 2020-01-06 11:36:48
  4. * @LastEditTime : 2020-01-06 16:54:52
  5. * @Description: M5Stack project
  6. * @FilePath: /home/sakabin/Arduino/libraries/M5Stack/examples/Modules/Bala/imuCalibration.h
  7. */
  8. // #define M5STACK_MPU6050
  9. #define M5STACK_MPU6886
  10. // #define M5STACK_200Q
  11. #include "M5Stack.h"
  12. extern void imu_CalcInit();
  13. extern void imu_calcGyroOffsets();
  14. extern void imu_update();
  15. extern float imu_getAngleX();
  16. extern void imu_setOffsetX(float x);
  17. extern float imu_getOffsetX();