4.2.2 Mechanical Switch

The PIC16F15276 Curiosity Nano board has one mechanical switch, which is a generic user-configurable switch. Pressing the switch will drive the I/O line to ground (GND).

Tip: There is no externally connected pull-up resistor on the switch. Make sure that an internal pull-up resistor is enabled on pin RB5 to use the switch.
Table 4-2. Mechanical Switch
PIC16F15276 PinDescriptionShared Functionality
RB5User switch (SW0)Edge connector, On-board debugger