df

Dependents:   gimbalController_brushless_IMU

Fork of MPU6050 by Baser Kandehir

Revision:
7:a8a0621e4732
Parent:
5:5bff0edcdff8
Child:
8:ae197c3fd843
--- a/MPU6050.cpp	Wed Aug 05 12:45:47 2015 +0000
+++ b/MPU6050.cpp	Thu May 12 20:09:39 2016 +0000
@@ -34,7 +34,7 @@
 //I2C i2c(p9,p10);         // setup i2c (SDA,SCL)  
 
 /* For NUCLEO-F411RE board */
- I2C i2c(D14,D15);         // setup i2c (SDA,SCL)
+ I2C i2c(A4,A5);         // setup i2c (SDA,SCL)
 
 /* Set initial input parameters */
 
@@ -147,12 +147,11 @@
     if(whoAmI==0x68)
     {
         pc.printf("MPU6050 is online... \r\n");  
-        led2=1;
+        
     }
     else
     {
         pc.printf("Could not connect to MPU6050 \r\nCheck the connections... \r\n");  
-        toggler1.attach(&toggle_led1,0.1);     // toggles led1 every 100 ms
     }  
 }