5.2.2 Mechanical Switch

The AVR64EA48 Curiosity Nano board has one mechanical switch - a generic user-configurable switch. Pressing it will connect the I/O pin to ground (GND).

Tip: There is no externally connected pull-up resistor on the switch. Enable the internal pull-up resistor on Pin PB2 to use it.
Table 5-2. Mechanical Switch
AVR64EA48 PinDescriptionShared Functionality
PB2User switch (SW0)Edge connector, On-board debugger