template for jeff
Dependents: i2c_MPU6050_335_template CS335_Final_Project_i2c_MPU6050_Gyro_Mouse
Diff: MPU6050.cpp
- Revision:
- 8:0751a6497c6a
- Parent:
- 7:c5b827f8be2b
- Child:
- 9:f91e6ad66cf8
diff -r c5b827f8be2b -r 0751a6497c6a MPU6050.cpp --- a/MPU6050.cpp Wed Oct 21 08:22:23 2020 +0000 +++ b/MPU6050.cpp Sun Nov 29 03:34:53 2020 +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 */