Mechanical Buttons

ATtiny817 Xplained Pro contains two generic user-configurable mechanical buttons. When a button is pressed, it will drive the I/O line to GND.

Info: There is no pull-up resistor connected to the generic user button SW0. Remember to enable the internal pull-up in the ATtiny817 to use the button. There is an on-board pull-up resistor connected to the generic user button SW1. There is no need to enable the internal pull-up in the ATtiny817 to use the button.
Table 1. Mechanical Buttons
ATtiny817 Pin Silkscreen Text Shared Functionality
PB5 SW0 EXT3 and EDBG DGI
PC5 SW1/RST EXT3 and UPDI debug connector
Info: PC5 is connected to a button that states “SW1/RST” because PC5 had reset capabilities in an early version of the ATtiny817. Today the ATtiny817 does not have any reset capabilities on PC5.