Shundo Kishi / MPU6050

Dependencies:   ArduinoSerial I2Cdev

Dependents:   MPU6050_Example

Fork of MPU6050 + MPU9150 by Andreas Kodewitz

Revision:
6:f38dfe62d74c
Parent:
2:f8bfb37b2e1f
--- a/I2Cdev.cpp	Sat Nov 23 16:47:00 2013 +0000
+++ b/I2Cdev.cpp	Sat Jan 30 17:12:45 2016 +0000
@@ -5,17 +5,9 @@
 
 #include "I2Cdev.h"
 
-#define useDebugSerial
-
-I2Cdev::I2Cdev(): i2c(I2C_SDA,I2C_SCL), debugSerial(USBTX, USBRX)
-{
+I2Cdev::I2Cdev(): i2c(I2C_SDA,I2C_SCL) {}
 
-}
-
-I2Cdev::I2Cdev(PinName i2cSda, PinName i2cScl): i2c(i2cSda,i2cScl), debugSerial(USBTX, USBRX)
-{
-
-}
+I2Cdev::I2Cdev(PinName i2cSda, PinName i2cScl): i2c(i2cSda,i2cScl) {}
 
 /** Read a single bit from an 8-bit device register.
  * @param devAddr I2C slave device address