Dependents: Test_MPU6050 Fusion_Gyro_Mag Position_Gyro Position_Mouse
Fork of MPU6050IMU by
Revision 6:5835b443885d, committed 2015-03-15
- Comitter:
- joshwilkins2013
- Date:
- Sun Mar 15 21:34:14 2015 +0000
- Parent:
- 4:09b08e19167c
- Commit message:
- removed led pin< aided in motor control, now we need to fix the j2/ PTA0 error
Changed in this revision
MPU6050.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 09b08e19167c -r 5835b443885d MPU6050.h --- a/MPU6050.h Fri Feb 20 20:03:37 2015 +0000 +++ b/MPU6050.h Sun Mar 15 21:34:14 2015 +0000 @@ -155,12 +155,12 @@ //Set up I2C, (SDA,SCL) I2C i2c(I2C_SDA, I2C_SCL); -DigitalOut myled(LED1); +//DigitalOut myled(LED1); float aRes, gRes; // scale resolutions per LSB for the sensors // Pin definitions need to be updated for the k64 tom 2/17 -int intPin = 12; // These can be changed, 2 and 3 are the Arduinos ext int pins +//int intPin = 12; // These can be changed, 2 and 3 are the Arduinos ext int pins int16_t accelCount[3]; // Stores the 16-bit signed accelerometer sensor output float ax, ay, az; // Stores the real accel value in g's