2
Development System EasydsPIC6
MikroElektronika
page
17.0. Push Buttons
The logic state of all microcontroller input pins may be changed by means of push buttons. Jumper J15 is used to determine the logic
state to be applied to the desired microcontroller pin by pressing the appropriate push button. The function of the protective resistor is to
limit the maximum current, thus preventing the development system and peripheral modules from being damaged in case a short circuit
occurs. If needed, advanced users may shorten such resistor using jumper J11. Right next to the push buttons, there is a RESET button
which is used to provide the MCLR pin with the microcontroller reset signal over the on-board programmer.
Figure 17-2
: Push buttons and port PORTB connection schematic
Figure 17-1
: Push buttons
By pressing any push button when jumper J15 is in the VCC position, a logic one (5V) will be applied to the appropriate microcontroller
pin, as shown in Figure 17-2.
By pressing a push button, the appropriate pin will be driven high (1)
Jumper J15 used to select logic
level to be applied to a pin by
pressing push button
Jumper J11 used to shorten
protective resistor
Push buttons used to simulate
digital inputs
RESET button