0 votes
by (540 points)
How do you test a push button switch?

1 Answer

0 votes
by (160 points)
All you have to do is swap the pushbutton and 10 k-ohm resistor in the schematic. The pull-down resistor then becomes a pull-up resistor, and the I/O pin will detect 0 V when the button is pressed.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Feb 14, 2020 by pushbutton (540 points)
0 votes
1 answer
0 votes
0 answers
0 votes
1 answer
asked Feb 14, 2020 by pushbutton (540 points)
0 votes
1 answer
0 votes
1 answer
asked Nov 28, 2019 by buttons (340 points)
...