Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Switch from GPLv2 to GPLv2+ | Keith Packard | 2016-07-12 |
| | | | | Signed-off-by: Keith Packard <keithp@keithp.com> | ||
* | altos: Simplify quadrature tracking | Keith Packard | 2014-05-09 |
| | | | | | | | | | | | | Set the timer to 200Hz for a 5ms debounce interval. Then, simply look for transitions ending in both bits in the encoder being off, which indicates the the encoder is resting in a detent. If bit '2' is turning off, the encoder was rotated clockwise, otherwise the encoder was rotated counter clockwise. This is a lot more reliable, although still not perfect. Signed-off-by: Keith Packard <keithp@keithp.com> | ||
* | altos: Add fast-timer API. Use for quadrature and button drivers | Keith Packard | 2013-06-09 |
This splits the fast-timer portion out of the debounce helper code and shares that with the quadrature driver which now uses it directly. Signed-off-by: Keith Packard <keithp@keithp.com> |