Industrial Electronic Engineers, Inc.
SIZE
A
CODE IDENT NO.
05464
S03858–06–0205
Van Nuys, California
SCALE N/A
REV C
SHEET 14
3.5.1
Instruction Summary
Hex Code
Command
01h
Clear Display
02h
Home Cursor
04h
Disable Shift And Decrement
05h
Enable Shift And Decrement
06h
Disable Shift And Increment
07h
Enable Shift And Increment
08h
Turn Display Off
0Ch
Turn Display On And Cursor Off
0Eh
Turn Display On And Cursor On
0Fh
Turn Display On And Blink Cursor
10h
Shift Cursor To The Left
14h
Shift Cursor To The Right
18h
Shift Display To The Left
1Ch
Shift Display To The Right
11h
Subsequent Data Is Controller 1 Instruction(S)
12h
Subsequent Data Is Controller 1 Display Data
15h
Subsequent Data Is Controller 2 Instruction(S)
16h
Subsequent Data Is Controller 2 Display Data
17h
Subsequent Data Down Loads Special Characters
19h
Subsequent Data Is 8 Bit Length Character
3.5.2
Sample Instructions In BASIC
The following instructions are provided as an example to illustrate the correct form and to assist the user to
rapidly see his display operate.
10 CLOSE #1
‘Close if open
20 OPEN "COM1:9600,N,8,2,CS,DS" AS #1
'Setup serial port
30 PRINT #1, CHR$(&H4A); CHR$(&H61); CHR$(&H6E)
'Display date
40 PRINT #1, CHR$(&H2D); CHR$(&H32); CHR$(&H2D)
50 PRINT #1, CHR$(&H39); CHR$(&H36)
60 PRINT #1, CHR$(&H11); CHR$(&H0F)
'Blink cursor
70 PRINT #1, CHR$(&H84)
'Move cursor to day
80 PRINT #1, CHR$(&H12)
'Prepare to change day
90 SYSTEM
The display should appear as follows:
Jan–2–96