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.
| PIC18F57Q43 Pin | Description | Shared Functionality | 
|---|---|---|
| RB4 | User switch (SW0) | Edge connector, On-board debugger | 
