We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc16ed4 commit 21184a6Copy full SHA for 21184a6
examples/Blink/Blink.ino
@@ -12,7 +12,7 @@ EZButton _ezb(1, ReadButtons, 1000, 200);
12
13
void setup() {
14
//initialize pins
15
- pinMode(BTN_1_PIN, INPUT);
+ pinMode(BTN_1_PIN, INPUT_PULLUP);
16
pinMode(LED_BUILTIN, OUTPUT);
17
18
//subscribe to needed events
0 commit comments