main.c的main函数中dmp_init();mpu6050.c中//DMP初始化void dmp_init(void){ uint8_t temp[1] = {0}; //phph dmp_i2c_read(HW_S_HW_MPU_ADDR, MPU_DEVICE_ID, I2C_MEMADD_SIZE_8BIT,temp); Sensors_I2C_ReadRegister(HW_S_HW_MPU_ADDR, MPU6050_WHO_AM_I, I2C_MEMADD_SI。
inv_mpu.c中,int mpu_init(void)中://配置陀螺仪满量程范围,FSR: ±2000°/s,LSB: 16.4 LSB/°/sif (mpu_set_gyro_fsr(2000)) return -1;inv_mpu.c中:/** * @brief Set the gyro full-scale range. * @param[in] fsr Desired full-scale range. * @return 0 if su.. ...