Special characters – Matrix Orbital LK204-25 User Manual

Page 26

Advertising
background image

26

3. Special Characters

3.1. Creating a Custom

Character

Dec
Hex
ASCII

254 78

FE 4E

■ N

ID Data
ID Data
ID Data

Creates a custom character. Each character is divided into 8 rows of 5 pixels; each data byte represents one row.
Each byte is padded by three zero bits followed by five bits representing each pixel state. A one represents an on
condition while a zero is off. Characters are lost when a new memory bank is loaded, unless they are saved.

ID

1 byte, character ID, value between 0 and 7

Data

8 bytes, character pixel data as shown below

Table 21: Custom Degree Character

Data1

000 p1 p2 p3 p4 p5 0000

1

000

8

Data2

000 p1 p2 p3 p4 p5 000

1

0

1

00

20

Data3

000 p1 p2 p3 p4 p5 0000

1

000

8

Data4

000 p1 p2 p3 p4 p5 000000

11 3

Data5

000 p1 p2 p3 p4 p5 00000

1

00

4

Data6

000 p1 p2 p3 p4 p5 00000

1

00

4

Data7

000 p1 p2 p3 p4 p5 000000

11 3

Data8

000 p1 p2 p3 p4 p5 00000000

0


3.2. Saving Custom

Characters

Dec
Hex

254 193

FE C1

Bank ID Data
Bank ID Data

Provides access to all memory banks to create and save custom characters, graph bars, and large digits. Any new
characters saved will overwrite the old, so care should be taken when writing to any bar or digit memory bank.
Bank structure is shown below.

Bank

1 byte, memory bank ID, value between 0 and 4

ID

1 byte, value between 0 and 7

Data

8 bytes, character pixel data as above

Table 22: Custom Character Banks

0

Start-up Characters

1

Horizontal Bars

2

Vertical Bars

3

Medium Digits

4

Large Digits


3.3. Loading Custom

Characters

Dec
Hex

254 192

FE C0

Bank
Bank

Loads a bank of custom characters into memory for use. Must be issued before using a bank of characters.
Alternatively, an appropriate initialize command can be used.

Bank

1 byte, memory bank ID, value between 0 and 4

Advertising
This manual is related to the following products: