beautypg.com

Matrix Orbital DD-DB1 LCD/VFD Dev Board User Manual

Page 23

background image

3. Special Characters

3.1.Create 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 0-7

Data

8 bytes, character pixel data as shown below

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.Save 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 (0-4)

ID

1 byte, character ID (0-7)

Data

8 bytes, character pixel data

0

Start-up Characters

1

Horizontal Bars

2

Vertical Bars

3

Medium Digits

4

Large Digits

21