5.2.2 Mechanical Switch

The PIC16F17146 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 RC0 to use it.
Table 5-2. Mechanical Switch
PIC16F17146 PinDescriptionShared Functionality
RC0User switch (SW0)Edge connector, On-board debugger