Modified for compatibility with Rev.E. hardware
Fork of AkmSensor by
Diff: ap1017ctrl.h
- Revision:
- 49:c8f8946129b6
- Parent:
- 47:221ec4b404ec
diff -r 427bdb7bf31b -r c8f8946129b6 ap1017ctrl.h --- a/ap1017ctrl.h Tue Dec 19 12:18:13 2017 -0800 +++ b/ap1017ctrl.h Tue May 01 21:31:15 2018 +0000 @@ -91,14 +91,13 @@ void pwmOnPulse(); private: - //bool event; uint8_t primaryId; uint8_t subId; const char* sensorName; DigitalOut* inputA; DigitalOut* inputB; - I2C* i2cMotor; + DigitalOut* enable; AP1017* ap1017; Ticker pwm;