7 file system commands 8.8 miscellaneous commands, 7 file system commands, 8 miscellaneous commands – Matrix Orbital GLK24064-25 Legacy User Manual
Page 33

GLK24064-25 rev. 06
33
8.7 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 GLK24064-25.
Table 8-4 File System Commands
Command
Syntax
Default
Notes
Erase file
FE B0 [type] [ref]
254 173 [type] [ref]
n/a
Erases file in memory. Type = 0x01 is font,
type = 0x05 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 6E [ref] [size] [data]
254 110 [ref] [size] [data]
254 '~' [ref] [size] [data]
n/a
Uploads a bitmap to the memory of the
GLK24064-25. 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
GLK24064-25. See section 6.4.
8.8 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]
0x80
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]
0x80
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 on
FE 56
254 86
254 'V'
off
Turns the general purpose output ON.
General purpose
output off
FE 57
254 87
254 'W'
off
Turns the general purpose output OFF.