Driver for ADXL345
Fork of ADXL345_I2C by
Diff: ADXL345_I2C.h
- Revision:
- 3:a453a5e561c2
- Parent:
- 2:f2d04afa9603
--- a/ADXL345_I2C.h Sat Dec 19 09:17:19 2015 +0000 +++ b/ADXL345_I2C.h Sat Dec 19 10:40:48 2015 +0000 @@ -115,6 +115,8 @@ * @param cs mbed pin to use for not chip select line of I2C interface. */ ADXL345_I2C(PinName sda, PinName scl); + + ADXL345_I2C(I2C &i2c); /** * Read the device ID register on the device.