8#include <AH/Hardware/ExtendedInputOutput/ExtendedInputOutput.hpp>
91 State getState()
const;
97 unsigned long previousBounceTime()
const;
101 unsigned long stableTime(
unsigned long now)
const;
104 unsigned long stableTime()
const;
122 static unsigned long getDebounceTime();
129 : debounced(0b11), bouncing(true), prevInput(
HIGH), invert(false),
#define BEGIN_AH_NAMESPACE
constexpr PinStatus_t HIGH
std::remove_reference< decltype(*F(""))>::type * FlashString_t
#define AH_DIAGNOSTIC_POP()
#define AH_DIAGNOSTIC_WERROR()
constexpr pin_t NO_PIN
A special pin number that indicates an unused or invalid pin.
constexpr unsigned long BUTTON_DEBOUNCE_TIME
The debounce time for momentary push buttons in milliseconds.
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).