Skip to content

Commit ba815f9

Browse files
fixed example lorawan_interrupt
1 parent b31c53a commit ba815f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/LoRa/examples/LoRaWAN/LoRaWan_interrupt/LoRaWan_interrupt.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void setup() {
109109
LoRaWAN.ifskipjoin();
110110

111111
accelWoke = false;
112-
PINMODE_INPUT_PULLDOWN(INT_PIN);
112+
pinMode(INT_PIN,INPUT);
113113
attachInterrupt(INT_PIN, accelWakeup, RISING);
114114
Serial.println("Interrupts attached");
115115
}

0 commit comments

Comments
 (0)