Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MPU6050 by
Revision 7:f434122e7695, committed 2016-08-26
- Comitter:
- lakshmananag
- Date:
- Fri Aug 26 07:09:44 2016 +0000
- Parent:
- 6:5b90f2b5e6d9
- Commit message:
- Another clone of MPU6050. Actually, I wanted to publish my program - Balancing_Robot_1 and honestly, I don't know why the website is asking me to publish this library for every revision of Balancing Robot program.
Changed in this revision
MPU6050.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5b90f2b5e6d9 -r f434122e7695 MPU6050.cpp --- a/MPU6050.cpp Wed Aug 05 13:15:07 2015 +0000 +++ b/MPU6050.cpp Fri Aug 26 07:09:44 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 */