I see a push button (doorbell switch?) with a 330ohm resistor in series, connected between pin and ground.
Did you use INPUT_PULLUP in pinMode?
Leo..
I see a push button (doorbell switch?) with a 330ohm resistor in series, connected between pin and ground.
Did you use INPUT_PULLUP in pinMode?
Leo..