Second
Fork of MPU6050 by
Diff: I2Cdev.cpp
- Revision:
- 4:5be37f1eb60c
- Parent:
- 3:b21c8c3456be
--- a/I2Cdev.cpp Tue Aug 01 15:03:01 2017 +0000 +++ b/I2Cdev.cpp Thu Sep 07 18:54:31 2017 +0000 @@ -7,12 +7,12 @@ #define useDebugSerial -I2Cdev::I2Cdev(): i2c(p26,p27) +I2Cdev::I2Cdev(): i2c(I2C_SDA,I2C_SCL) { } -I2Cdev::I2Cdev(PinName p26, PinName p27): i2c(p26,p27) +I2Cdev::I2Cdev(PinName SDA, PinName SCL): i2c(SDA,SCL) { }