(MBED) implementation of the I2C interface
Dependents: MCP23009tst AT30TSE752TST MCP4728setaddrProg mbedSerialInterface_talkback2 ... more
Diff: MBEDI2CInterface.h
- Revision:
- 1:80ebfbf95667
- Parent:
- 0:c65947f64a8b
- Child:
- 2:b7ebe53e8fac
--- 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