Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: ak09970ctrl.h
- Revision:
- 27:41aa9fb23a2f
- Parent:
- 13:d008249f0359
- Child:
- 29:b488d2c89fba
--- a/ak09970ctrl.h Wed Feb 22 21:56:05 2017 +0000 +++ b/ak09970ctrl.h Sat Mar 11 01:14:15 2017 +0000 @@ -28,23 +28,17 @@ */ virtual ~Ak09970Ctrl(); 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 checkINT(); void detectINT(); private: - bool event; - uint8_t primaryId; - uint8_t subId; AK09970* ak09970; - char* sensorName; // hold settings for AK09970 AK09970::Threshold threshold;