MPU6050 library modified so I can use 2 IMUs
Dependents: MPU6050-DMP_sample
Fork of MPU6050 by
Diff: I2Cdev.cpp
- Revision:
- 6:d348c3cad7c7
- Parent:
- 2:f8bfb37b2e1f
diff -r 7d1bf3ce0053 -r d348c3cad7c7 I2Cdev.cpp --- a/I2Cdev.cpp Sat Nov 23 16:47:00 2013 +0000 +++ b/I2Cdev.cpp Wed Mar 18 22:18:55 2015 +0000 @@ -9,12 +9,12 @@ I2Cdev::I2Cdev(): i2c(I2C_SDA,I2C_SCL), debugSerial(USBTX, USBRX) { - +// i2c.frequency(200000); } I2Cdev::I2Cdev(PinName i2cSda, PinName i2cScl): i2c(i2cSda,i2cScl), debugSerial(USBTX, USBRX) { - + // i2c.frequency(200000); } /** Read a single bit from an 8-bit device register.