9#include <AH/STL/limits>
10#include <Settings/NamespaceSettings.hpp>
27template <u
int8_t NumRows, u
int8_t NumCols>
constexpr setting_t NO_SETTING
A special setting that indicates an unused or invalid setting.
uint8_t setting_t
The type used for Selectors.
uint8_t B
The pin connected to the B pin of the encoder.
analog_t(*)(analog_t) MappingFunction
Array2D< uint8_t, NumRows, NumCols > AddressMatrix
uint8_t A
The pin connected to the A pin of the encoder.
A struct for the pins of a rotary (quadrature) encoder without a switch.
A simple struct representing a pixel with integer coordinates.
#define BEGIN_CS_NAMESPACE
constexpr auto max(const T &a, const U &b) -> decltype(a< b ? b :a)
Return the larger of two numbers/objects.
uint16_t analog_t
The type returned from analogRead and similar functions.
constexpr pin_t NO_PIN
A special pin number that indicates an unused or invalid pin.
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
A struct for the pins of a rotary (quadrature) encoder with a switch.
pin_t switchPin
The pin connected to the switch pin of the encoder.
uint8_t B
The pin connected to the B pin of the encoder.
uint8_t A
The pin connected to the A pin of the encoder.
EncoderSwitchPinList(uint8_t A, uint8_t B)
Constructor for encoders without a switch.
EncoderSwitchPinList(uint8_t A, uint8_t B, pin_t switchPin)
Constructor for encoders with a switch.