Modification to FXOS8700Q for use in Data Logger project
Dependencies: FXOS8700Q MotionSensor
Dependents: GPS_6Axis_DataLogger_SD_UDP
Fork of FXOS8700Q by
Diff: FXOS8700Q.h
- Revision:
- 5:c4176a12f7d5
- Parent:
- 4:be6abf9f2d59
- Child:
- 6:cdc362f08339
diff -r be6abf9f2d59 -r c4176a12f7d5 FXOS8700Q.h --- a/FXOS8700Q.h Sat Apr 19 00:16:49 2014 +0000 +++ b/FXOS8700Q.h Wed Apr 23 17:12:15 2014 +0000 @@ -20,6 +20,7 @@ #define FXOS8700Q_H #include "mbed.h" +#include "MotionSensor.h" // FXOS8700CQ I2C address #define FXOS8700CQ_SLAVE_ADDR0 (0x1E<<1) // with pins SA0=0, SA1=0 #define FXOS8700CQ_SLAVE_ADDR1 (0x1D<<1) // with pins SA0=1, SA1=0 @@ -66,7 +67,7 @@ * @endcode */ -class FXOS8700Q +class FXOS8700Q : public MotionSensor { public: /**