Datasheet

page 32
v7
When working with multi-
media applications it is
far more intuitive to use a
single joystick than several
dierent push buttons that
are more far apart. This is
more natural for users and they
can browse through on-screen
menus, or even play games much
easier. EasyPIC Fusion
v7 features
navigation switch with ve dierent
positions: Up, Down, Left, Right and
Center. Each of those acts as a button,
and is connected to one of the following
microcontrollers pins: RA4, RA5, RA6, RA7, RA1
(respectively). Before using the navigation switch, it
is necessary to pull-up mentioned microcontroller pins
using tri-state DIP switches located in I/O groups. After pressing
the navigation switch in desired direction, associated microcontroller pins
are connected to GND, which can be detected in user software.
Navigation switch
Figure 18-2: Navigation switch is an intuitive solution for browsing
through on-screen menus.
multimedia
4
5
6
1
2
3
KEY1
UP
LEFT
CENTER
RIGHT
DOWN
RA6
RA4
RA1
RA7
RA5
R83
220
VCC-3.3V
UP
DOWN
PULL
1 2 3 4 5 6 7 8
+
_
SW2
RA4
RA5
RA6
RA7
RA0
RA1
RA2
RA3
DATA BUS
Figure 18-1: Navigation switch connection schematic. Pull-up resistors should be enabled during operation