32 pinMode(LED_BUILTIN, OUTPUT);
46 digitalWrite(LED_BUILTIN,
led);
#define BUTTON_B_PIN
Connect button between this pin and ground.
Button * btns[]
Array of buttons for ButtonList.
ButtonList btnList(btns)
List of button to control together.
void setup()
Setup the DebouncableAny example.
Button btnA(BUTTON_A_PIN)
Primary button.
Button btnB(BUTTON_B_PIN)
Secondary button.
#define BUTTON_A_PIN
Connect button between this pin and ground.
bool led
On/off state of the LED.
void loop()
Control the DebouncableAny example.