Mechanical buttons

Three mechanical buttons are connected to XMEGA. All buttons have external pull-ups so there is no need to activate internal pull-ups in order to use them. When a button is pressed it will drive the I/O line to GND.

Table 1. Mechanical buttons connection
Pin on XMEGA Silkscreen text on PCB and designator in the schematics
PE5 SW0
PF1 SW1
PF2 SW2