Code attached below.
I have tried inputs wired up with 5V and 3.3V supply from board, through switch or pushbutton (SW or PB in the code) and into assigned pins.
I have tried seeking the input as HIGH or LOW, and as 0 or <0.
I’m not sure what I’m doing wrong.
Have googled and read forums.
Electrically, with multimeter, the switches are working.
I want to know how to get an input IN!!
Ectounit1.ino (3.2 KB)