Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: ak9752ctrl.h
- Revision:
- 27:41aa9fb23a2f
- Parent:
- 13:d008249f0359
- Child:
- 29:b488d2c89fba
--- a/ak9752ctrl.h Wed Feb 22 21:56:05 2017 +0000 +++ b/ak9752ctrl.h Sat Mar 11 01:14:15 2017 +0000 @@ -26,24 +26,18 @@ */ virtual ~Ak9752Ctrl(); virtual AkmSensor::Status init(const uint8_t id, const uint8_t subid); - virtual bool isEvent(); virtual AkmSensor::Status startSensor(); virtual AkmSensor::Status startSensor(const float sec); virtual AkmSensor::Status stopSensor(); virtual AkmSensor::Status readSensorData(Message* msg); virtual AkmSensor::Status requestCommand(Message* in, Message* out); - virtual char* getSensorName(); void detectINT(); private: - bool event; - uint8_t primaryId; - uint8_t subId; AK9752* ak9752; InterruptIn* interrupt; Ticker ticker; - char* sensorName; // hold settings AK9752::OperationMode mode;