我正在为我的项目使用mpu6050,但它显示了以下错误测试设备连接...MPU6050连接失败仅当iI尝试使用MPU6050的对象时才显示此错误,但当我不使用MPU6050的实例而使用Wire库时(如follow// Initialize communication
Wire.beginTransmission(MPU); // Start communication with MPU6050F("MPU6050 connec
in class 'MPU6050'
C:\Users\LordXaX\Documents\Arduino\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h\MPU6050/MPU6050_6Axis_MotionApps20.h:557: error: no 'uint8_t MPU6050::dmpGetQuaternion(int32_t*, constMPU6050/MPU6050_6Axis_
我使用传感器MPU6050来控制我的机器人手臂的运动。当它是一个独立的程序时,代码工作良好,但当代码被写入主程序时,我一直遇到'FIFO溢出‘。这是我正在使用的代码。MPU6050_6Axis_MotionApps20.h"#include "Wire.h"MPU6050last random Yaw value from the currrent value to make the Yaw 0 degr