MPU6050 test
Fork of MPU6050 by
Diff: MPU6050.cpp
- Revision:
- 4:20f1f660e5c3
- Parent:
- 3:a173ad187e67
- Child:
- 5:5bff0edcdff8
diff -r a173ad187e67 -r 20f1f660e5c3 MPU6050.cpp --- a/MPU6050.cpp Tue Jul 21 08:16:36 2015 +0000 +++ b/MPU6050.cpp Wed Aug 05 12:17:44 2015 +0000 @@ -1,4 +1,6 @@ -/* @author: Baser Kandehir +/* MPU6050 Library +* +* @author: Baser Kandehir * @date: July 16, 2015 * @license: MIT license * @@ -28,7 +30,11 @@ #include "MPU6050.h" -I2C i2c(p9,p10); // setup i2c (SDA,SCL) +/* For LPC1768 board */ +//I2C i2c(p9,p10); // setup i2c (SDA,SCL) + +/* For NUCLEO-F411RE board */ + I2C i2c(D14,D15); // setup i2c (SDA,SCL) /* Set initial input parameters */