GPIO3 is now input pull up

This commit is contained in:
Th3maz1ng 2021-07-25 15:42:59 +02:00
parent 3a5fa64663
commit 0293fe3064

View File

@ -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));