Skip to content

Commit

Permalink
fixed example lorawan_interrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
Heltec-Aaron-Lee committed May 6, 2020
1 parent b31c53a commit ba815f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void setup() {
LoRaWAN.ifskipjoin();

accelWoke = false;
PINMODE_INPUT_PULLDOWN(INT_PIN);
pinMode(INT_PIN,INPUT);
attachInterrupt(INT_PIN, accelWakeup, RISING);
Serial.println("Interrupts attached");
}
Expand Down

0 comments on commit ba815f9

Please sign in to comment.