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:
- 13:a8deb4ce9b4a
- Parent:
- 11:aee7dea904e2
--- a/FXOS8700Q.h Tue Oct 08 17:28:40 2019 +0000 +++ b/FXOS8700Q.h Tue Oct 08 18:48:38 2019 +0000 @@ -18,7 +18,7 @@ #define FXOS8700Q_H #include "mbed.h" -#include "MotionSensor.h" +#include "MbedComponentMotionSensor.h" // FXOS8700CQ I2C address #define FXOS8700CQ_SLAVE_ADDR0 (0x1E<<1) // with pins SA0=0, SA1=0 @@ -83,7 +83,7 @@ /** FXOS8700Q driver class */ -class FXOS8700Q : public MotionSensor +class FXOS8700Q : public MbedComponent::MotionSensor { public: