5Button::Button(
pin_t pin) : pin(pin) {}
25 state.bouncing =
true;
42 default:
return F(
"<invalid>");
47 return state.prevBounceTime;
#define BEGIN_AH_NAMESPACE
constexpr PinMode_t INPUT_PULLUP
std::remove_reference< decltype(*F(""))>::type * FlashString_t
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
void pinMode(pin_t pin, PinMode_t mode)
An ExtIO version of the Arduino function.
PinStatus_t digitalRead(pin_t pin)
An ExtIO version of the Arduino function.
constexpr unsigned long BUTTON_DEBOUNCE_TIME
The debounce time for momentary push buttons in milliseconds.
Type for storing pin numbers of Extended Input/Output elements.