aaa

Dependencies:   ArduinoSerial I2Cdev2

Dependents:   AutoFlight2017_now2 AutoFlight2018_Control sbus_test_2018 Autoflight2018_sbusread ... more

Files at this revision

API Documentation at this revision

Comitter:
taknokolat
Date:
Tue Sep 18 05:53:06 2018 +0000
Parent:
1:e1e51291024e
Commit message:
a

Changed in this revision

MPU6050_DMP6.cpp Show annotated file Show diff for this revision Revisions of this file
MPU6050_DMP6.h Show annotated file Show diff for this revision Revisions of this file
diff -r e1e51291024e -r ff025b9c6c7c MPU6050_DMP6.cpp
--- 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),
diff -r e1e51291024e -r ff025b9c6c7c MPU6050_DMP6.h
--- a/MPU6050_DMP6.h	Tue Aug 28 07:11:17 2018 +0000
+++ b/MPU6050_DMP6.h	Tue Sep 18 05:53:06 2018 +0000
@@ -4,12 +4,13 @@
 #include "MPU6050.h"
 #include "mbed.h"
 #include "I2Cdev.h"
+#include "MODSERIAL.h"
 
 #define MPU6050_INCLUDE_DMP_MOTIONAPPS20
 
 class MPU6050DMP6 {
 public:
-    MPU6050DMP6(PinName intpin, RawSerial* serial_p);
+    MPU6050DMP6(PinName intpin, MODSERIAL* serial_p);
     ~MPU6050DMP6();
 
   int setup();
@@ -18,7 +19,7 @@
 
 
 private:
-    RawSerial* pc_p;
+    MODSERIAL* pc_p;
     InterruptIn *checkpin_p;
     InterruptIn &checkpin;