Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: ak7451ctrl.h
- Revision:
- 27:41aa9fb23a2f
- Parent:
- 13:d008249f0359
- Child:
- 29:b488d2c89fba
diff -r 2fca76521680 -r 41aa9fb23a2f ak7451ctrl.h --- a/ak7451ctrl.h Wed Feb 22 21:56:05 2017 +0000 +++ b/ak7451ctrl.h Sat Mar 11 01:14:15 2017 +0000 @@ -27,22 +27,15 @@ */ virtual ~Ak7451Ctrl(); 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 Status requestCommand(Message* in, Message* out); - virtual char* getSensorName(); void eventCallback(); private: - bool event; - uint8_t primaryId; - uint8_t subId; - char* sensorName; - Ticker ticker; AK7451* ak7451; float interval;