Fork from https://os.mbed.com/teams/NXP/code/FXOS8700Q/ to use a local and namespaced MotionSensor.h header that would otherwise clash with other libraries.
Dependents: TALab2B_Part2_ECE595 TALab3C_i2c_acc Project1 FinalProject ... more
Diff: FXOS8700Q.h
- Revision:
- 9:5553a64d0762
- Parent:
- 6:cdc362f08339
- Child:
- 10:834488c11340
--- a/FXOS8700Q.h Sat Apr 26 01:36:41 2014 +0000 +++ b/FXOS8700Q.h Wed May 07 18:08:08 2014 +0000 @@ -139,7 +139,9 @@ private: I2C m_i2c; int m_addr; - + char sbuf[12]; + int sstatus; + void writeRegs(uint8_t * data, int len); int16_t getAccAxis(uint8_t addr);