MPU6050 arduino port by Szymon Gaertig (http://mbed.org/users/garfieldsg/code/MPU6050/) 1 memory overflow error corrected.
Dependents: MbedFreeIMU gurvanAHRS
Fork of MPU6050 by
Diff: MPU6050.cpp
- Revision:
- 6:40ac13ef7290
- Parent:
- 5:bdb6ad020352
--- a/MPU6050.cpp Wed Feb 20 18:29:30 2013 +0000 +++ b/MPU6050.cpp Sat Jun 22 11:23:45 2013 +0000 @@ -80,8 +80,6 @@ debugSerial.baud(921600); //uses max serial speed #ifdef useDebugSerial - - debugSerial.baud(921600); debugSerial.printf("MPU6050::initialize start\n"); #endif setClockSource(MPU6050_CLOCK_PLL_XGYRO); @@ -172,6 +170,7 @@ i2Cdev.writeByte(devAddr, MPU6050_RA_SMPLRT_DIV, rate); } + // CONFIG register /** Get external FSYNC configuration.