6 file system commands, 7 miscellaneous commands – Matrix Orbital GLK12232-25-SM Legacy User Manual
Page 34
34
8.6 File System Commands
In addition to these commands, the mogd.exe program (see section 1.4) is used to download fonts and
graphics to the GLK12232-25-SM.
Table 8-4 File System Commands
Command Syntax
Default
Notes
Erase file
FE B0 [type] [ref]
254 45 [type] [ref]
n/a
Erases file in memory. Type = 1 is font, type
= 5 is bitmap. [ref] is reference number.
Purge memory
FE 21 59 21
254 33 89 33
n/a
Removes all fonts, font metrics, bitmaps
and settings from memory.
Upload bitmap
FE 5E [ref] [size] [data]
254 94 [ref] [size] [data]
254 '^' [ref] [size] [data]
n/a
Uploads a bitmap to the memory of the
GLK12232-25-SM. See section 6.5.
Upload font
FE 24 [ref] [size] [data]
254 36 [ref] [size] [data]
254 '$' [ref] [size] [data]
n/a
Uploads a font to the memory of the
GLK12232-25-SM. See section 6.4.
8.7 Miscellaneous Commands
Table 8-5 Miscellaneous Commands
Command Syntax
Default
Notes
Clear display
FE 58
254 88
254 'X'
n/a
Clears screen of text and graphics, places text
cursor at top left.
Set contrast
FE 50 [contrast]
254 80 [contrast]
254 'P' [contrast]
128
Sets display contrast. Compensates for viewing
angle. Contrast is a value between 0 and 255
(hex 0 to FF). Larger = darker.
Set contrast and save FE 91 [contrast]
254 145 [contrast]
128
Same as "set contrast" but saves [contrast] as
default.
Backlight on
FE 42 [minutes]
254 66 [minutes]
254 'B' [minutes]
on
Backlight will stay on for [minutes]. If [minutes]
= 0 backlight will stay on permanently.
Backlight off
FE 46
254 70
254 'F'
on
Turns off backlight.
General purpose
output off
FE 56 [gpo #]
254 86 [gpo #]
254 'V' [gpo #]
off
Turns a general purpose output OFF. [gpo #] is
1 for G1 or 2 for G2. See section 2.2 for further
details.