Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: FreeIMU FreeIMU_external_magnetometer
Fork of MPU6050_tmp by
Diff: MPU6050.cpp
- Revision:
- 6:40ac13ef7290
- Parent:
- 5:bdb6ad020352
- Child:
- 7:95e74f827c08
--- 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.
