Driver library for the Freescale FXOS8700Q sensor
Dependencies: MotionSensor
Dependents: el14dg_Project frdm_serial_peopleAndComputing simple-client-app-shield pelion-example-frdm ... more
Fork of FXOS8700Q by
Diff: FXOS8700Q.h
- Revision:
- 9:5553a64d0762
- Parent:
- 6:cdc362f08339
- Child:
- 10:834488c11340
diff -r 52116f8fb3da -r 5553a64d0762 FXOS8700Q.h --- 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);