First trial of Balancing robot based on Kristian Lauszus's code.

Dependents:   Balancing_Robot_2

Fork of MPU6050 by Baser Kandehir

Files at this revision

API Documentation at this revision

Comitter:
lakshmananag
Date:
Thu Aug 25 22:50:34 2016 +0000
Parent:
6:5b90f2b5e6d9
Commit message:
First trial

Changed in this revision

MPU6050.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 5b90f2b5e6d9 -r c3d0207e85ca MPU6050.cpp
--- a/MPU6050.cpp	Wed Aug 05 13:15:07 2015 +0000
+++ b/MPU6050.cpp	Thu Aug 25 22:50:34 2016 +0000
@@ -31,10 +31,10 @@
 #include "MPU6050.h"
 
 /* For LPC1768 board */
-//I2C i2c(p9,p10);         // setup i2c (SDA,SCL)  
+I2C i2c(p9,p10);         // setup i2c (SDA,SCL)  
 
 /* For NUCLEO-F411RE board */
-static I2C i2c(D14,D15);         // setup i2c (SDA,SCL)
+//static I2C i2c(D14,D15);         // setup i2c (SDA,SCL)
 
 /* Set initial input parameters */