A struct for the pins of a rotary (quadrature) encoder with a switch. More...
#include <Def/Def.hpp>
Public Member Functions | |
EncoderSwitchPinList (uint8_t A, uint8_t B, pin_t switchPin) | |
EncoderSwitchPinList (uint8_t A, uint8_t B) | |
Public Attributes | |
uint8_t | A |
The pin connected to the A pin of the encoder. More... | |
uint8_t | B |
The pin connected to the B pin of the encoder. More... | |
pin_t | switchPin = NO_PIN |
The pin connected to the switch pin of the encoder. More... | |
A struct for the pins of a rotary (quadrature) encoder with a switch.
|
inline |
|
inline |
pin_t switchPin = NO_PIN |