4.3 Mechanical Switch
The PIC16F17576 Curiosity Nano board has one mechanical switch, a generic user-configurable switch. Pressing it will connect the I/O pin to ground (GND).
Tip: No external pull-up resistor
is connected to the switch. To use it, enable the internal pull-up resistor on Pin RA7.
Note: By default, the RA7 pin on the PIC16F17576 is configured to be used as an external clock
pin. Change the configuration bits to disable the external oscillator to use this pin as
regular a GPIO.
PIC16F17576 Pin | Description | Shared Functionality |
---|---|---|
RA7 | User switch (SW0) | Edge connector, On-board debugger |