A SERVICE OF

logo

DISPLAY PORT SECTION 8
Page 8-1 RPC-320
Figure 8-1 Display interface
INTRODUCTION
RPBASIC-52 and the RPC-320 interface to a variety of
displays:
VF (vacuum florescent) character
LCD (liquid crystal) character
LCD graphics
Character display sizes range from four lines by 20
characters to four lines by 40 characters. The graphics
display supports 160 x 128 pixels. Remote Processing
supplies these displays with appropriate cables. A
contrast adjustment for LC D character displays is built
into the card.
If a display is not used, this port may be used for general
purpose digital I/O. Port A and part of port B from an
82C55 are available. See CONNECTOR DISPLAY PIN
OUT below for available lines.
The cable length to a display depends upon the amount
of current it requires. A significant amount of voltage
drop occurs with a long cable. Vacuum florescent and
LCD graphics cables should be less than 2 feet. A
character LC D display cable should be less than 5 feet.
CONNECTING DISPLAYS
The display port is designed to supply all the lines
necessary for VF and L CD displays. A custom cable
connects the RPC-320 to the display.
Displays purchased from Remote Processing include a
cable. You simply connect the 20 pin connector to the
RPC-320 LCD display port and the other end into the
display.
Additional power wiring is usually required for LCD
graphic and VF character displays. This information is
included with the display. Information content is display
dependent. Below is general information on both.
Graphic displays require additional voltages not
generated on the RPC-320. These must be supplied
externally. An external contrast adjustment may be
necessary. You may be able to connect these through
screw terminal block P5.
VF character displays r equire + 5 volts and ground to
connector P5. This may in the form of external wires
from the main power connector on the board or power
supply.
Additional information for commands mentioned in the
following text are found in the RPBASIC-52 Software
Supplement in this manual.
WRITING TO THE DISPLAY
The display type must first be set using the CONFIG
DISPLAY command. The DISPLAY com mand is used
to print information.
PROGRAMMING EXAMPLE
The example below is for a four line by 20 character
LCD display. Even though DISPL AY statements do not
end with a comma (, ), a < cr> < lf> sequence is not
sent. Use CR to force a return to the beginning of the
line. A CR does not scroll characters on a display. You
must position the cursor to the next line.
10 CONFIG DISPLAY 1
20 STRING 200,30
30 $(0) = "Hello world"
40 DISPLAY (1,2),$(0)