df

Dependents:   gimbalController_brushless_IMU

Fork of MPU6050 by Baser Kandehir

Files at this revision

API Documentation at this revision

Comitter:
alfaleader
Date:
Mon May 16 09:50:01 2016 +0000
Parent:
7:a8a0621e4732
Commit message:
d

Changed in this revision

MPU6050.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r a8a0621e4732 -r ae197c3fd843 MPU6050.cpp
--- a/MPU6050.cpp	Thu May 12 20:09:39 2016 +0000
+++ b/MPU6050.cpp	Mon May 16 09:50:01 2016 +0000
@@ -144,7 +144,7 @@
     uint8_t whoAmI = readByte(MPU6050_ADDRESS, WHO_AM_I_MPU6050);   // Should return 0x68
     pc.printf("I AM 0x%x \r\n",whoAmI);
     
-    if(whoAmI==0x68)
+    if(whoAmI==0x68) //0x68
     {
         pc.printf("MPU6050 is online... \r\n");