enhancing Multitech's library for some accelerometer
Fork of MMA845x by
Diff: MMA845x.h
- Revision:
- 15:8544130b5def
- Parent:
- 14:683234dfe179
- Child:
- 17:ff9a9933d123
--- a/MMA845x.h Wed Jul 04 23:07:03 2018 +0000 +++ b/MMA845x.h Wed Jul 04 23:08:47 2018 +0000 @@ -330,7 +330,7 @@ * @char latency - period, that starts after a pulse has been detected, during all pulses are ignored. Kind of debouncing * @pin - an interrupt has to be attached to some pin, even if this pin is NC * @return status of command - * TODO - implement conversion from some arbitrary units to ms for window and latency + * TODO - implement conversion from some arbitrary units to ms for window and latency, double tap, way of fetching pulse events */ uint8_t enablePulseDetect(char x_threshold, char y_threshold, char z_threshold, char window, char latency, INTERRUPT_PIN pin) const; @@ -338,7 +338,7 @@ * @debounce_steps - how long a state has to last to trigger orientation change. step varies from 1.25 to 160 ms. * @pin - an interrupt has to be attached to some pin, even if this pin is NC * @return status of command - * TODO - add trip angles change (only when MMA8451) + * TODO - add trip angles change (only when MMA8451), way of fetching orientation events */ uint8_t enableOrientationDetect(uint8_t debounce_steps, INTERRUPT_PIN pin = INT_NONE) const;