10#include <AH/STL/limits>
11#include <Settings/NamespaceSettings.hpp>
29template <u
int8_t NumRows, u
int8_t NumCols>
56 (std::numeric_limits<setting_t>::max() >> 1) + 1;
constexpr setting_t NoSetting
A special setting that indicates an unused or invalid setting.
uint8_t setting_t
The type used for Selectors.
analog_t(*)(analog_t) MappingFunction
Array2D< uint8_t, NumRows, NumCols > AddressMatrix
#define BEGIN_CS_NAMESPACE
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
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 without a switch.
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.
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.
A simple struct representing a pixel with integer coordinates.