23 pinMode(LED_BUILTIN, OUTPUT);
25 Button::setHeldTime(2000);
26 Button::setIdleTime(10000);
void setup()
Setup the Debouncable example.
#define BUTTON_PIN
Connect button between this pin and ground.
Button btn(BUTTON_PIN)
The button to check.
void loop()
Control the Debouncable example.