Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MotionSensor
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:
/**
