Mechanical Switch

The PIC16F15244 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 RC2.
Table 1. Mechanical Switch
PIC16F15244 Pin Description Shared Functionality
RC2 User switch (SW0) Edge connector, On-board debugger