5Button::Button(
pin_t pin) : pin(pin) {}
42 default:
return F(
"<invalid>");
#define BEGIN_AH_NAMESPACE
constexpr PinMode_t INPUT_PULLUP
std::remove_reference< decltype(*F(""))>::type * FlashString_t
Array< T, N > copyAs(const Array< U, N > &src)
Copy an Array to an Array of a different type.
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.