Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for #234

Fix for #234
  • Loading branch information...
commit 05e143b78893a50381b0a58d42d64cf5ef49a00d 1 parent b2e4d36
@rei-vilo rei-vilo authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.