-
STM32F103通过IIC接口读取MPU9250芯片,并利用DMP算法进行数据融合以获取欧拉角
资源介绍
stm32F103通过IIC读取MPU9250用DMP融合得到欧拉角
//显示Pitch
printf("Pitch:");
temp = (Pitch);
printf("%f",temp);
printf("度 ");
//显示Roll
printf("Roll:");
temp = (Roll);
printf("%f",temp);
printf("度 ");
//显示Yaw
printf("Yaw:");
temp = (Yaw);
printf("%f",temp);
printf("度 ");
printf("\r\n");