MPU9250
Fork of MPU6050 by
Revision 3:8a6a7d6b6816, committed 2013-02-20
- Comitter:
- pommzorz
- Date:
- Wed Feb 20 18:10:53 2013 +0000
- Parent:
- 2:3cf70c42a784
- Child:
- 5:bdb6ad020352
- Commit message:
- baudrate changed to ; debugSerial.baud(921600);;
Changed in this revision
MPU6050.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/MPU6050.cpp Wed Feb 20 17:32:50 2013 +0000 +++ b/MPU6050.cpp Wed Feb 20 18:10:53 2013 +0000 @@ -42,7 +42,7 @@ #include "MPU6050.h" -#define useDebugSerial +//#define useDebugSerial //instead of using pgmspace.h typedef const unsigned char prog_uchar; @@ -79,9 +79,10 @@ { #ifdef useDebugSerial + + debugSerial.baud(921600); debugSerial.printf("MPU6050::initialize start\n"); #endif - setClockSource(MPU6050_CLOCK_PLL_XGYRO); setFullScaleGyroRange(MPU6050_GYRO_FS_250); setFullScaleAccelRange(MPU6050_ACCEL_FS_2);