
DISPLAY PORT
SECTION 8
Page 8-2 RPC-320
DISPLAY TYPES
RPBASIC-52' s software driver is based upon the
characteristics of the display family. Compatible VF and
LCD displays are shown below:
Manu fact.
Model
Type
Optrex
DMC 40457
LCD 4 x 40
Optrex
DMC 40202
LCD 2 x 40
IEEE
3601-90-080
VF 4 x 20
Optrex
DMF 682N
LCD 160W x 128D
DISPLAY CONNECTOR PIN OUT
The displa y port uses an 82C5 5 for data and contr ol.
The table below lists a pin number and its intended
function. A display may not use all lines even though
they are available.
J4
8255
Function
Pin
Port/line
1
Logic + 5V
2
Digital ground
3
A / 4
D 4
4
Contrast voltage
5
A / 6
D 6
6
A / 5
D 5
7
B/4
Reset (from invertor)
8
B/3
Write
9
B/2
Read
10
A / 7
D 7
11
A / 1
D 1
12
A / 0
D 0
13
A / 3
D 3
14
A / 2
D 2
15
B/7
CS (from invertor)
16
B/6
Com mand/ data
17
B/5
Halt
18
Contrast adjust
19
Alternate power
20
Power gr ound
J4 is available for additional I/O if a display is not used.
Port A is configured as an input or output. P ort B must
be configur ed as an outpu t if a 17 key or larger keypad is
used. Use the L INE B comm and to acces s this part.
I/O bank is 4.
Pins 18, 19, and 20 are for the LCD -5003 and other
graphic displays.
COMMANDS
The following RPBASIC-52 com mands are used for the
display.
Comm and
Function
CLEAR DISPLAY
Clears entire display
C L E A R D IS P L A Y LI N E Clears curr ent line
CONFIG DISPLAY
Specifies display type to
use
DISPLAY
Prints the string at the
row and collum specified