sfas
Dependents: Bracky-MPU6050-DMP
Fork of MPU6050 by
Diff: I2Cdev.h
- Revision:
- 6:748bae310e1e
- Parent:
- 0:662207e34fba
--- a/I2Cdev.h Sat Nov 23 16:47:00 2013 +0000 +++ b/I2Cdev.h Thu Dec 03 02:23:23 2015 +0000 @@ -9,15 +9,11 @@ #include "mbed.h" -#define I2C_SDA p28 -#define I2C_SCL p27 - class I2Cdev { private: I2C i2c; Serial debugSerial; public: - I2Cdev(); I2Cdev(PinName i2cSda, PinName i2cScl); int8_t readBit(uint8_t devAddr, uint8_t regAddr, uint8_t bitNum, uint8_t *data, uint16_t timeout=I2Cdev::readTimeout());