Skip to content

Buttons, pull-up and debounce

Use 10 kΩ pull-up resistors. Debounce with software delay or interrupts. Practice 2 uses RB4-RB7 interrupts for matrix keyboard.

Interactive exam

Buttons and digital inputs

0 of 0 answered

To read a button without bounce issues you should...
If a pin has TRIS=1, it acts as...