5.2.2 Mechanical Switch
The PIC18F16Q40 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 RC0.
PIC18F16Q40 Pin | Description | Shared Functionality |
---|---|---|
RC0 | User switch (SW0) | Edge connector, On-board debugger |