Can't detect short pulses with GPIO

Do you have "pinMode(D3, INPUT)" in your setup()?

Are you using "digitalWrite(D3,..)"in your code to turn on and off the internal pullup? If so then see this

and change your code to use pinMode(D3, INPUT_PULLUP)

1 Like