MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
8 #include <AH/Hardware/ExtendedInputOutput/ExtendedInputOutput.hpp>
96 State getState()
const;
102 unsigned long previousBounceTime()
const;
106 unsigned long stableTime(
unsigned long now)
const;
109 unsigned long stableTime()
const;
127 static unsigned long getDebounceTime();
134 unsigned long prevBounceTime = 0;
136 #ifdef AH_INDIVIDUAL_BUTTON_INVERT // Edit this in AH/Settings/Settings.hpp
137 bool invertState =
false;
139 static bool invertState;
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
#define AH_DIAGNOSTIC_POP()
#define AH_INDIVIDUAL_BUTTON_INVERT_STATIC
constexpr unsigned long BUTTON_DEBOUNCE_TIME
The debounce time for momentary push buttons in milliseconds.
std::remove_reference< decltype(*F(""))>::type * FlashString_t
constexpr pin_t NO_PIN
A special pin number that indicates an unused or invalid pin.
#define AH_DIAGNOSTIC_WERROR()
#define BEGIN_AH_NAMESPACE