5.2.2 Mechanical Switch

The PIC18F56Q71 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 RA0 to use the switch.
Table 5-3. Mechanical Switch
PIC18F56Q71 PinDescriptionShared Functionality
RA0User switch (SW0)Edge connector, On-board debugger