4.2.2 Mechanical Switch
The PIC18F47K42 Curiosity Nano 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 RE2.
PIC18F47K42 Pin | Description | Shared Functionality |
---|---|---|
RE2 | User switch (SW0) | Edge connector |