Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: ak9750ctrl.h
- Revision:
- 29:b488d2c89fba
- Parent:
- 27:41aa9fb23a2f
- Child:
- 30:5a241d9b3262
--- a/ak9750ctrl.h Sat Mar 11 02:08:32 2017 +0000 +++ b/ak9750ctrl.h Fri Mar 17 23:29:20 2017 +0000 @@ -9,6 +9,8 @@ { public: + + typedef AkmSensor base; typedef enum { SUB_ID_AK9750 = 0x01, @@ -32,12 +34,11 @@ virtual AkmSensor::Status stopSensor(); virtual AkmSensor::Status readSensorData(Message* msg); virtual AkmSensor::Status requestCommand(Message* in, Message* out); - - void detectINT(); + virtual void setEvent(); private: AK9750* ak9750; - InterruptIn* interrupt; +// InterruptIn* interrupt; Ticker ticker; // hold settings