|
config 目前是这样的
#define MPU6050 //combo + ACC
#define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = -Y; accADC[PITCH] = X; accADC[YAW] = Z;}
#define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = -X; gyroADC[PITCH] = -Y; gyroADC[YAW] = -Z;}
#define MPU6050_ADDRESS 0x69
#undef INTERNAL_I2C_PULLUPS |
|