Skip to content

Commit 05e143b

Browse files
author
Rei Vilo
committed
Fix for #234
Fix for #234
1 parent b2e4d36 commit 05e143b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/2.Digital/InterruptOnChange_430/InterruptOnChange_430.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ uint8_t volatile edge;
1616
void setup() {
1717
pinMode(RED_LED, OUTPUT);
1818
digitalWrite(RED_LED, LOW);
19+
pinMode(PUSH2, INPUT_PULLUP);
1920

2021
edge = FALLING;
2122
attachInterrupt(PUSH2, func, FALLING);

0 commit comments

Comments
 (0)