I2C interface for our mbed.
Fork of I2Cinterfaces by
Diff: MBEDI2CInterface.h
- Revision:
- 1:80ebfbf95667
- Parent:
- 0:c65947f64a8b
- Child:
- 2:6dafea14e21e
--- a/MBEDI2CInterface.h Tue Jan 12 15:04:03 2016 +0000 +++ b/MBEDI2CInterface.h Tue Jan 12 15:45:51 2016 +0000 @@ -9,8 +9,8 @@ I2C i2cdev; public : - MBEDI2CInterface(PinName sda, PinName scl): i2cdev(sda,scl), - getVersion( VERSION_MBEDI2CInterface_HDR,VERSION_MBEDI2CInterface_HDR, __TIME__, __DATE__){ + MBEDI2CInterface(PinName sda, PinName scl): + getVersion( VERSION_MBEDI2CInterface_HDR,VERSION_MBEDI2CInterface_HDR, __TIME__, __DATE__),i2cdev(sda,scl){ // no init code yet } ; // next could perhaps more efficient but not yet investigated