4.2.2 Mechanical Switch

The PIC18F57Q43 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 RB4 to use the switch.
Table 4-2. Mechanical Switch
PIC18F57Q43 PinDescriptionShared Functionality
RB4User switch (SW0)Edge connector, On-board debugger