2 issuing commands, 3 text commands – Matrix Orbital GLK12232-25-WBL User Manual
Page 31
8.2
Issuing Commands
Commands are issued to the display by the micro-controller. In a test setup commands can be issued
to the display by means of a BASIC program using the chr$( ) function. In the tables below, we’ve shown
commands in hex, ASCII and decimal form. All commands begin with the prefix character 0xFE (254
decimal). These commands are issued on the serial communications link (I
2
C or RS-232) at the currently
defined baud rate.
For example, using BASIC in a test setup, the user could issue the command to clear the screen on the
display by including the line;
ИКБЖМ
½¸
Ц°´¾
µ
Ö°
´
µ
in the user’s BASIC program .
Or, with C the user could (using Zcomm serial library)
УСС½¹
ПЦ
Ш
У
СС
ЭШ
´
¼Ь
µ
УСС½¹
ПЦ
Ш
У
СС
ЭШ
´
³
³µ
8.3
Text Commands
Table 11: Text Commands
http://www.hammondmfg.com/scpg.htm
Command
Syntax
Default
Notes
Auto scroll on
FE 51
254 81
254 ’Q’
off
Enables scroll at
bottom of screen.
Text
will
push
display
up
one
line to make room
for new line.
Auto scroll off
FE 52
254 82
254 ’R’
off
Disables
auto
scroll.
Text will
wrap to top left
and
overwrite
existing text.
Set text insertion point
FE 47 [col] [row] 254 71
[col] [row] 254 ’G’ [col]
[row]
n/a
Sets text insertion
point using the
base size of the
current font.
Matrix Orbital
GLK12232-25-WBL
27