MPU6050+HMC5883驱动程序

#define HMC5883_StatusReg #define HMC5883_IdentificationReg_A 0x0A #define HMC5883_IdentificationReg_B 0x0B #define HMC5883_IdentificationReg_C 0x0C

extern float HMC5883_Angle_F; extern u16 HMC5883_Angle_D; extern u8 hmc5883_buffer[6]; extern int16_t ax,ay,az;

void MPU6050_INIT(void); void MPU6050_READ(void); void MPU6050_Dataanl(void);

void HMC5883_INIT(void); void HMC5883_READ(void); void GetAngle(void); #endif

0x09

联系客服:779662525#qq.com(#替换为@)