3.5.9 Mechanical Switch

The PIC-BLE board has one mechanical switch, which is a generic user-configurable switch that will drive the connected I/O line to ground (GND) when it is pressed. An external resistor pulls the signal high when the switch is not pressed.

Holding the switch during power-up can be used to put the Bluetooth module in Configuration mode. See RN4870 BLE Module for more information.

Table 3-10. Mechanical Switch Connection
SwitchPIC16LF18456 PinFunctionShared Functionality
SW0RA7GPIO / EXT_INTRN4870 and On-board debugger
Info: The SW0 signal is pulled up by an external resistor.