18
EasyPIC6 Development System
MikroElektronika
page
13.0. Push Buttons
The logic state of all microcontroller digital inputs may be changed using push buttons. Jumper J17 is used to determine the logic state to be
applied to the desired microcontroller pin by pressing the appropriate push button. The purpose of the protective resistor is to limit maximum
current thus preventing a short circuit from occurring. Advanced users may, if needed, disable such resistor using jumper J24. Just next to the
push buttons, there is a RESET button which is not connected to the MCLR pin. The reset signal is generated by the programmer.
! """"
!
Figure 13-2
: PORTB push button connection schematic
Jumper J17 in the
pull-up position
Figure 13-1
: Push buttons
By pressing any push button (R0-R7) when jumper J17 is in the VCC-MCU position, a logic one (5V) will be applied to the appropriate
microcontroller pin as shown in Figure 13-2.
RESET button
Jumper J17 used for
selecting logic state to
be applied to the pin by
pressing button
Push buttons used for
simulating digital inputs
Jumper J24 used for en-
abling protective resistor
R17
10K
RSTbut
VCC-MCU
C14
100nF