modified from MMA8451Q
Dependents: XtrinsicSensorEVK SDFileSystem_HelloWorld5_copy xtrinsic_sensors
Diff: MMA8491Q.h
- Revision:
- 1:2d4b7fadb1e6
- Parent:
- 0:41db55eef564
--- a/MMA8491Q.h Thu Oct 10 03:20:44 2013 +0000 +++ b/MMA8491Q.h Mon Oct 14 15:00:36 2013 +0000 @@ -57,6 +57,8 @@ * @param addr addr of the I2C peripheral */ MMA8491Q(PinName sda, PinName scl, int addr); + + // MMA8491Q(PinName sda, PinName scl, int addr, PinName Xout, PinName Yout, PinName Zout); /** * MMA8491Q destructor @@ -153,6 +155,7 @@ void readRegs(int addr, uint8_t * data, int len); void writeRegs(uint8_t * data, int len); int16_t getAccAxis(uint8_t addr); + };