4.2.2 Mechanical Switch

The PIC16F18076 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 it.
Table 4-2. Mechanical Switch
PIC16F18076 PinDescriptionShared Functionality
RA0User switch (SW0)Edge connector, On-board debugger