beautypg.com

4 text commands – Matrix Orbital GLK24064-25 Legacy User Manual

Page 38

background image

Table 14: Example of an ASCII Table

The letter

A

has a value of

65 decimal or

41 hex

The letter

a

has a value of

97 decimal or

61 hex

The number

0

has a value of

48 decimal or

30 hex

The number

9

has a value of

57 decimal or

39 hex

This gives rise to the possibility of confusion when parameters are being set on the display. For example,

some commands use a [type] parameter to indicate a file type. We’re told that acceptable values are 0 and

5. All parameters must use numeric values (i.e., the actual byte values). If we send the ASCII number 0 by

mistake it will actually give the value 48 decimal (30 hex) to the parameter, which is wrong. In the tables

given in the following sections ASCII characters are shown as ’A’, with single quotes.

8.4 Text Commands

Table 15: Text Commands

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

GLK24064-25

34