An abstract class for momentary push buttons that send MIDI events.  
 More...
#include <MIDIButton.hpp>
template<class BankAddress, class Sender>
class Bankable::MIDIButton< BankAddress, Sender >
An abstract class for momentary push buttons that send MIDI events. 
The button is debounced.
- See also
 - Button 
 
Definition at line 20 of file Bankable/Abstract/MIDIButton.hpp.
 
◆ MIDIButton()
template<class BankAddress, class Sender> 
 
Construct a new bankable MIDIButton. 
- Parameters
 - 
  
    | bankAddress | The bankable MIDI address to send to.  | 
    | pin | The digital input pin with the button connected. The internal pull-up resistor will be enabled.  | 
    | sender | The MIDI sender to use.  | 
  
   
Definition at line 33 of file Bankable/Abstract/MIDIButton.hpp.
 
 
◆ begin()
template<class BankAddress, class Sender> 
 
 
◆ update()
template<class BankAddress, class Sender> 
 
 
◆ getButtonState()
template<class BankAddress, class Sender> 
 
 
◆ enable() [1/4]
template<class T = NormalUpdatable> 
 
Enable this updatable: insert it into the linked list of instances, so it gets updated automatically. 
Definition at line 45 of file Updatable.hpp.
 
 
◆ enable() [2/4]
template<class T = NormalUpdatable> 
 
 
◆ enable() [3/4]
template<class T = NormalUpdatable> 
 
 
◆ enable() [4/4]
template<class T = NormalUpdatable> 
template<class U , size_t N> 
 
 
◆ disable() [1/4]
template<class T = NormalUpdatable> 
 
Disable this updatable: remove it from the linked list of instances, so it no longer gets updated automatically. 
Definition at line 55 of file Updatable.hpp.
 
 
◆ disable() [2/4]
template<class T = NormalUpdatable> 
 
 
◆ disable() [3/4]
template<class T = NormalUpdatable> 
 
 
◆ disable() [4/4]
template<class T = NormalUpdatable> 
template<class U , size_t N> 
 
 
◆ isEnabled()
template<class T = NormalUpdatable> 
 
Check if this updatable is enabled. 
- Note
 - Assumes that the updatable is not added to a different linked list by the user. 
 
Definition at line 69 of file Updatable.hpp.
 
 
◆ beginAll()
template<class T = NormalUpdatable> 
 
 
◆ updateAll()
template<class T = NormalUpdatable> 
 
 
◆ address
template<class BankAddress, class Sender> 
 
 
◆ button
template<class BankAddress, class Sender> 
 
 
◆ sender
template<class BankAddress, class Sender> 
      
 
 
◆ updatables
template<class T = NormalUpdatable> 
 
 
◆ next
◆ previous
The documentation for this class was generated from the following file: