First trial of Balancing robot based on Kristian Lauszus's code.
Fork of MPU6050 by
Revision 7:c3d0207e85ca, committed 2016-08-25
- 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 |
--- 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 */