Specifications

CONFIG Commands - 7
CONFIG DISPLAY
Statement
SYNTAX: CONFIG DISPLAY address,type,cursor
PURPOSE: To install a driver for a display
REMARKS: CAMBASIC supports eight vacuum fluorescent (DP series) and liquid crystal (LCD) displays. When
the CONFIG DISPLAY statement is executed, a driver is installed that tells CAMBASIC the I/O
address, type and cursor.
The address is the address of the output port at which the display is located. See your hardware
manual for more information.
The type parameter is determined by the display type, as shown in the table below:
0 DP-1x16 VF, 1 line, 16 char/line
1 DP-2x20 VF, 2 line, 20 char/line
2 DP-2x40 VF, 2 line, 40 char/line
3 DP-4x20 VF, 4 line, 20 char/line
4 LCD-2x20 LCD, 2 line, 20 char/line
5 LCD-2x40 LCD, 2 line, 40 char/line
6 LCD-4x20 LCD, 4 line, 20 char/line
7 LCD-4x40 LCD, 4 line, 40 char/line
8 LCD LCD, Graphic
The cursor parameter sets the cursor type. This may not be valid, depending upon the display type.
For DP series displays:
0 cursor not displayed (all models)
2 cursor displayed, 2x40, 4x20
For LCD character displays:
0 cursor not displayed
1 blinking cursor
2 steady cursor
RELATED: DISPLAY
EXAMPLE: The example below is for a vacuum florescent 2x20 display. It illustrates both continuous updating
and periodic updating of the display.
500 ON TICK .1 GOSUB 590