Skip to content
Browse files

Fix for #234

Fix for #234
  • Loading branch information...
1 parent b2e4d36 commit 05e143b78893a50381b0a58d42d64cf5ef49a00d @rei-vilo rei-vilo committed May 1, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 examples/2.Digital/InterruptOnChange_430/InterruptOnChange_430.ino
View
1 examples/2.Digital/InterruptOnChange_430/InterruptOnChange_430.ino
@@ -16,6 +16,7 @@ uint8_t volatile edge;
void setup() {
pinMode(RED_LED, OUTPUT);
digitalWrite(RED_LED, LOW);
+ pinMode(PUSH2, INPUT_PULLUP);
edge = FALLING;
attachInterrupt(PUSH2, func, FALLING);

0 comments on commit 05e143b

Please sign in to comment.
Something went wrong with that request. Please try again.