Skip to content

Commit 21184a6

Browse files
committed
updated samplesketch
1 parent bc16ed4 commit 21184a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Blink/Blink.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ EZButton _ezb(1, ReadButtons, 1000, 200);
1212

1313
void setup() {
1414
//initialize pins
15-
pinMode(BTN_1_PIN, INPUT);
15+
pinMode(BTN_1_PIN, INPUT_PULLUP);
1616
pinMode(LED_BUILTIN, OUTPUT);
1717

1818
//subscribe to needed events

0 commit comments

Comments
 (0)