-
Revision 7:665b7cb7e5c7, committed 2021-04-22
- Comitter:
- aguscahya
- Date:
- Thu Apr 22 03:49:27 2021 +0000
- Parent:
- 6:5b90f2b5e6d9
- Commit message:
- -
Changed in this revision
MPU6050.cpp | Show annotated file Show diff for this revision Revisions of this file |
MPU6050.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5b90f2b5e6d9 -r 665b7cb7e5c7 MPU6050.cpp --- a/MPU6050.cpp Wed Aug 05 13:15:07 2015 +0000 +++ b/MPU6050.cpp Thu Apr 22 03:49:27 2021 +0000 @@ -29,6 +29,8 @@ // Most of the code is adapted from Kris Winer's MPU6050 library #include "MPU6050.h" +#include "mbed.h" + /* For LPC1768 board */ //I2C i2c(p9,p10); // setup i2c (SDA,SCL)
diff -r 5b90f2b5e6d9 -r 665b7cb7e5c7 MPU6050.h --- a/MPU6050.h Wed Aug 05 13:15:07 2015 +0000 +++ b/MPU6050.h Thu Apr 22 03:49:27 2021 +0000 @@ -37,7 +37,7 @@ /* whoAmI func uses this func, variables etc */ extern Ticker toggler1; -extern Serial pc; +extern Serial pc; extern DigitalOut led2; extern void toggle_led1();