imuCalibration.h 507 B

1234567891011121314151617181920
  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:
  7. * /home/sakabin/Arduino/libraries/M5Stack/examples/Modules/Bala/imuCalibration.h
  8. */
  9. // #define M5STACK_MPU6050
  10. #define M5STACK_MPU6886
  11. // #define M5STACK_200Q
  12. #include "M5Stack.h"
  13. extern void imu_CalcInit();
  14. extern void imu_calcGyroOffsets();
  15. extern void imu_update();
  16. extern float imu_getAngleX();
  17. extern void imu_setOffsetX(float x);
  18. extern float imu_getOffsetX();