10#include <AH/STL/limits>
11#include <Settings/NamespaceSettings.hpp>
29template <u
int8_t NumRows, u
int8_t NumCols>
AH::function_traits< decltype(::digitalWrite)>::argument_t< 0 > ArduinoPin_t
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.
An array wrapper for easy copying, comparing, and iterating.
Type for storing pin numbers of Extended Input/Output elements.
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.