88 State getState()
const;
94 unsigned long previousBounceTime()
const;
98 unsigned long stableTime(
unsigned long now)
const;
101 unsigned long stableTime()
const;
112 setDebounceTime(
unsigned long debounceTime = BUTTON_DEBOUNCE_TIME);
119 static unsigned long getDebounceTime();
126 : debounced(0b11), bouncing(
true), prevInput(
HIGH), invert(
false),
#define BEGIN_AH_NAMESPACE
constexpr PinStatus_t HIGH
std::remove_reference< decltype(*F(""))>::type * FlashString_t
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
An array wrapper for easy copying, comparing, and iterating.