|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Quadrature encoder component - Gray code state machine. More...
Quadrature encoder component - Gray code state machine.
Encoder tracks rotational position from A/B quadrature signals. Decodes with a 16-entry transition table indexed by the old and new A/B states. The encoder's push-button is a separate Button component (composable).
Usage:
Definition in file encoder.hpp.
#include <cstdint>Go to the source code of this file.
Classes | |
| class | sbl::control::input::Encoder |
| Quadrature encoder with Gray code state machine and position tracking. More... | |
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs code. | |
| namespace | sbl::control |
| The control stack: scheduler, event queue, merge, CC mapping, calibration. | |
| namespace | sbl::control::input |
| Inputs: debounce, decoding, smoothing and scaling of raw samples. | |