altos/driver: Add support for one-step-per-click quadrature encoder
authorKeith Packard <keithp@keithp.com>
Mon, 28 May 2018 21:15:34 +0000 (14:15 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 28 May 2018 21:15:34 +0000 (14:15 -0700)
commitccad6e970c5c7416561443f1e6e2fa8f80698957
tree12284239d1f5d661232a07ca19dd2e8a2a502c88
parentf172b139ddc3fcc17cf89b57e5126264c0faa45e
altos/driver: Add support for one-step-per-click quadrature encoder

The mechanical encoders go through all four steps per click while the
optical ones have a single step per click. Support both kinds.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_quadrature.c