diff --git a/libraries/LoRa/examples/LoRaWAN/LoRaWan_interrupt/LoRaWan_interrupt.ino b/libraries/LoRa/examples/LoRaWAN/LoRaWan_interrupt/LoRaWan_interrupt.ino index b3622d9a..5d6d7fee 100644 --- a/libraries/LoRa/examples/LoRaWAN/LoRaWan_interrupt/LoRaWan_interrupt.ino +++ b/libraries/LoRa/examples/LoRaWAN/LoRaWan_interrupt/LoRaWan_interrupt.ino @@ -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"); }