
CONFIG C ommands - 8
CONFIG DISPLAY
Statement
SYNTA X: CONFIG DISPLAY address,type,cursor
PURPOSE: To install a driver for a display
REMARK S: CAM BASIC suppor ts eight vacuum fluore scent (DP ser ies) and liquid crystal (LCD) displays.
When the CON FIG D ISPLAY 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 D P series displays:
0 cursor not displayed (all models)
2 cursor displayed, 2x40, 4x20
For L CD character displays:
0 cursor not displayed
1 blinking cursor
2 steady cursor
RELATED: DISPLAY
Commenti su questo manuale