EasyPIC4 User
’
s Manual
6
6
page
M I K R O E L E K T R O N I K A S O F T W A R E A N D H A R D W A R E S O L U T I O N S F O R T H E E M B E D D E D W O R L D
MikroElektronika
Development
tools
SS
WW
IITT
CC
HH
EE
SS
EasyPIC
ICD
4
SWITCHES
The EasyPIC4 development board features a number of peripherial devices. In
order to enable these devices before programming, you need to check if appropri-
ate jumpers or switches have been properly set.
Switches are devices that have two positions - ON and OFF, which have a role to
establish or break a connection between two contacts. The EasyPIC4 development
board has two groups of switches.
The first group,
SW1,
enables connections between the microcontroller port with
analog capabilities (PORTA) and external pull-up/down resistors. The pull-up/down
resistors should be disconnected from the analog input pins, otherwise they will
affect the input voltage level. When PORTA pins are used as digital inputs/outputs,
the appropriate pull-up/down resistors should be enabled.
The upper four switches of
SW2
are used to enable LEDs connected to PORTA/E,
PORTB, PORTC and PORTD. For example, if the switch for PORTB is OFF, all
PORTB LEDs will be turned off.
The lower four switches of
SW2
are used to enable the 7-segment displays. If you
don’t need the 7-segment displays in your project, these switches should be OFF.
Switch is ON
Switch is OFF
1
ON
4
3
2
58
7
6
Figure 2.
Group of 8 switches
Switch 1 is ON, and other
switches are OFF