Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: ak7401ctrl.h
- Revision:
- 13:d008249f0359
- Parent:
- 10:5c69b067d88a
- Child:
- 23:50c98b286e41
- Child:
- 27:41aa9fb23a2f
--- a/ak7401ctrl.h Wed Aug 10 23:50:53 2016 +0000 +++ b/ak7401ctrl.h Fri Aug 12 00:04:48 2016 +0000 @@ -33,12 +33,15 @@ 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; AK7401* ak7401;