Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: ak9750ctrl.h
- Revision:
- 27:41aa9fb23a2f
- Parent:
- 13:d008249f0359
- Child:
- 29:b488d2c89fba
--- a/ak9750ctrl.h Wed Feb 22 21:56:05 2017 +0000 +++ b/ak9750ctrl.h Sat Mar 11 01:14:15 2017 +0000 @@ -27,24 +27,18 @@ */ virtual ~Ak9750Ctrl(); 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; AK9750* ak9750; InterruptIn* interrupt; Ticker ticker; - char* sensorName; // hold settings AK9750::OperationMode mode;