| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
Go to the documentation of this file.
    8 template <setting_t N, 
class Callback = EmptySelectorCallback>
 
   28         uint8_t program = midimsg.
data1;
 
   32             DEBUGFN(
F(
"Warning: Received Program Change to program 0x")
 
   34                     << 
F(
", which is not smaller than the number of settings (")
 
   49 template <setting_t N>
 
  
Selectable< N > & selectable
 
void reset() override
Reset the input element to its initial state.
 
void begin() override
Initialize the input element.
 
#define BEGIN_CS_NAMESPACE
 
Struct for easily matching MIDI messages.
 
GenericProgramChangeSelector(Selectable< N > &selectable, const Callback &callback, const MIDICNChannel &address)
 
Selector that listens for MIDI Program Change events on a given MIDI Channel, and uses the program nu...
 
void set(setting_t newSetting)
Select the given selection.
 
bool updateImpl(const ChannelMessageMatcher &midimsg, const MIDICNChannelAddress &target) override
Update the internal state with the new MIDI message.
 
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
 
A class for saving a MIDI channel and cable number.
 
Print & hex(Print &printer)
 
#define DEBUGFN(x)
Print an expression and its function (function name and line number) to the debug output if debugging...
 
void begin() override
Initialize this updatable.
 
ProgramChangeSelector(Selectable< N > &selectable, const MIDICNChannel &address)
 
Print & dec(Print &printer)
 
void reset()
Reset the selection to the initial selection.