4.2.2 Mechanical Switch

The ATmega4809 Curiosity Nano board has one mechanical switch. This is a generic user-configurable switch. When the switch is pressed, it will drive the I/O line to ground (GND).

Tip: There is no externally connected pull-up resistor on the switch. To use the switch, make sure that an internal pull-up resistor is enabled on pin PF6.
Table 4-2. Mechanical Switch
ATmega4809 PinDescriptionShared Functionality
PF6User switch (SW0)Edge connector, On-board debugger