MPU DMP code modified for use with ST Nucelo boards. This Library makes use of I2Cdev.
Dependents: MPU9150_nucleo_i2cdev Orion_newPCB_test_LV Orion_PCB_test_Faulhaber_gr41_wptcmd_V1 MPU9150_nucleo_i2cdev ... more
Fork of MPU6050-DMP-Ian by
Diff: MPU/src/MPU6050.cpp
- Revision:
- 16:babac099274f
- Parent:
- 13:b1b98e5c61df
- Child:
- 17:d12e7a7d4d02
diff -r d4284f5b4fc7 -r babac099274f MPU/src/MPU6050.cpp --- a/MPU/src/MPU6050.cpp Sun Mar 29 08:48:28 2015 +0000 +++ b/MPU/src/MPU6050.cpp Thu Oct 01 06:42:51 2015 +0000 @@ -86,9 +86,9 @@ debugSerial.printf("MPU6050::initialize start\n"); #endif - setClockSource(MPU6050_CLOCK_PLL_XGYRO); - setFullScaleGyroRange(MPU6050_GYRO_FS_250); - setFullScaleAccelRange(MPU6050_ACCEL_FS_2); + //setClockSource(MPU6050_CLOCK_PLL_XGYRO); + //setFullScaleGyroRange(MPU6050_GYRO_FS_250); + //setFullScaleAccelRange(MPU6050_ACCEL_FS_2); setSleepEnabled(false); // thanks to Jack Elston for pointing this one out! #ifdef useDebugSerial