7.2 Mechanical Switch

The PIC18F56Q35 Curiosity Nano board has one mechanical switch - a generic, user-configurable switch. Pressing it connects the I/O pin to ground (GND).

Figure 7-2. PIC18F56Q35 Curiosity Nano SW0 Block Diagram
Tip: There is no externally connected pull-up resistor on the switch. Enable the internal pull-up resistor on Pin RA6 to use it.
Table 7-2. Mechanical Switch Connection
PIC18F56Q35 PinDescriptionDefault Connection
RA6User switch (SW0), supports DGI event monitoring