mpu9150
Fork of MPU9150 by
Diff: MPU9150_9Axis_MotionApps41.h
- Revision:
- 2:da1e88bafc3f
- Parent:
- 0:78ba160ba5f3
--- a/MPU9150_9Axis_MotionApps41.h Mon Feb 01 16:13:13 2016 +0000 +++ b/MPU9150_9Axis_MotionApps41.h Wed Jun 21 03:30:17 2017 +0000 @@ -61,12 +61,16 @@ //#define DEBUG #ifdef DEBUG - #include "ArduinoSerial.h" - ArduinoSerial arduinoSerial; - #define DEBUG_PRINT(x) arduinoSerial.print(x) - #define DEBUG_PRINTF(x, y) arduinoSerial.print(x, y) - #define DEBUG_PRINTLN(x) arduinoSerial.println(x) - #define DEBUG_PRINTLNF(x, y) arduinoSerial.println(x, y) +// #include "ArduinoSerial.h" +// ArduinoSerial arduinoSerial; +// #define DEBUG_PRINT(x) arduinoSerial.print(x) +// #define DEBUG_PRINTF(x, y) arduinoSerial.print(x, y) +// #define DEBUG_PRINTLN(x) arduinoSerial.println(x) +// #define DEBUG_PRINTLNF(x, y) arduinoSerial.println(x, y) + #define DEBUG_PRINT(x) control.print(x) + #define DEBUG_PRINTF(x, y) control.print(x, y) + #define DEBUG_PRINTLN(x) control.println(x) + #define DEBUG_PRINTLNF(x, y) control.println(x, y) #else #define DEBUG_PRINT(x) #define DEBUG_PRINTF(x, y) @@ -78,6 +82,7 @@ #define MPU9150_DMP_CONFIG_SIZE 232 // dmpConfig[] #define MPU9150_DMP_UPDATES_SIZE 140 // dmpUpdates[] + /* ================================================================================================ * | Default MotionApps v4.1 48-byte FIFO packet structure: | | |