User manual

Microgate MicroGraph LED User Manual Page 76 of 88
3.2.3.1 EXAMPLE
Write 'Microgate' at position X=90, Y=48 with MEDIUM Font
String to send:
Field
Byte
Content
(hex)
Meaning
Start Frame
0
0x1B
Start Command
Address
1
0x40
Graphical Display Board Identifier
Command
2
0x53
Fixed String Command
Start Horizontal
Coordinate
(First byte)
3
0x5A
X= 90 -> in hex 0x5A
Start Horizontal
Coordinate
(Second byte)
4
0x00
Start Vertical
Coordinate
(First byte)
5
0x30
Y = 48 -> in hex 0x30
Start Vertical
Coordinate
(Second byte)
6
0x00
Binary Operation
7
0x00
No Operation
Font
8
0x02
MEDIUM Font
Data
9
0x4D
Character M
Data
10
0x49
Character I
Data
11
0x43
Character C
Data
12
0x52
Character R
Data
13
0x4F
Character O
Data
14
0x47
Character G
Data
15
0x41
Character A
Data
16
0x54
Character T
Data
17
0x45
Character E
End Frame
18
0x03
End of Command
Checksum
19
0x58
7-bit checksum executed for the whole frame:
0x1B+0x40+0x53+0x5A+0x30+0x02+0x4D+0x49+0
x43+0x52+0x4F+0x47+0x41+0x54+0x45+0x03 =
0x3D8
0x3D8 AND 0x7F = 0x58