diff --git a/src/app/app.ino b/src/app/app.ino index cfa86d7..af7094b 100644 --- a/src/app/app.ino +++ b/src/app/app.ino @@ -55,7 +55,7 @@ void setup() { Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY); //We set the RXD0 as a GPIO pinMode(D9, FUNCTION_3); - pinMode(D9, INPUT); + pinMode(D9, INPUT_PULLUP); attachInterruptArg(D9,&(NRFIRQsHandler), (void *)&IRQFlag, FALLING); //We set the WiFi part up : gotIp = WiFi.onStationModeGotIP(&(gotIpFunc));