query buttonState of boot button
Posted: Tue Sep 19, 2017 1:13 pm
How can i query the buttonstate of the boot button? I want to use the boot button to call a function. Like
Code: Select all
buttonState = digitalRead(boot_button);
if (buttonState == HIGH) {
//do something
}