MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
9 template <setting_t N,
class Callback = EmptySelectorCallback>
31 if (this->
get() != i &&
58 template <setting_t N>
void begin() override
Initialize this updatable.
int digitalRead(pin_t pin)
An ExtIO version of the Arduino function.
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
setting_t get() const
Get the current selection/setting.
void update() override
Update this updatable.
#define BEGIN_CS_NAMESPACE
EmptySelectorCallback callback
void set(setting_t newSetting)
Select the given selection.
uint8_t setting_t
The type used for Selectors.
void pinMode(pin_t pin, PinMode_t mode)
An ExtIO version of the Arduino function.
Selectable< N > & selectable