aaa
Dependencies: ArduinoSerial I2Cdev2
Dependents: AutoFlight2017_now2 AutoFlight2018_Control sbus_test_2018 Autoflight2018_sbusread ... more
Diff: MPU6050_DMP6.cpp
- Revision:
- 2:ff025b9c6c7c
- Parent:
- 0:c3af3416e383
--- a/MPU6050_DMP6.cpp Tue Aug 28 07:11:17 2018 +0000 +++ b/MPU6050_DMP6.cpp Tue Sep 18 05:53:06 2018 +0000 @@ -1,4 +1,5 @@ #include "MPU6050_DMP6.h" +#include "MODSERIAL.h" // I2Cdev and MPU6050 must be installed as libraries, or else the .cpp/.h files // for both classes must be in the include path of your project @@ -53,7 +54,7 @@ #define M_PI 3.14159265358979 #endif -MPU6050DMP6::MPU6050DMP6(PinName intpin, RawSerial* serial_p) +MPU6050DMP6::MPU6050DMP6(PinName intpin, MODSERIAL* serial_p) : checkpin_p(new InterruptIn(intpin)), checkpin(*checkpin_p),