e z L C D -‐ 4 0 5
|
141
Rev.
© 2016 Earth Computers Tech. Inc.
1.7.55 SET_BG_COLORH
Description:
Sets the Background Color for the following instructions:
PRINT_CHAR_BG
PRINT_STRING_BG
Code:
94
hex,
148
dec
7
6
5
4
3
2
1
0
Byte 0: Command
G2
G1
G0
B4
B3
B2
B1
B0
Byte 1: Color LSB
R4
R3
R2
R1
R0
G5
G4
G3
Byte 2: Color MSB
See Also:
PRINT_CHAR_BG
,
PRINT_STRING_BG
E
Example:
:
The following sequence will print "LCD" in yellow on a navy background, using Font 0.
SET_BG_COLORH
94
hex
NAVY_LSB
000
10000
bin
NAVY_MSB
00000
000
bin
SET_COLORH
84
hex
YELLOW_LSB
111
00000
bin
YELLOW_MSB
11111
111
bin
SET_XHY
85
hex
0
0
dec (x MSB)
160
160
dec (x LSB)
0
0
dec (y MSB)
117
117
dec (y LSB)
SELECT_FONT
2B
hex
0
0
dec
PRINT_STRING_BG 3D
hex
'L'
4C
hex
'C'
43
hex
'D'
44
hex
NULL
0
hex
SET_BG_COLORH
Summary of Contents for ezLCD-405
Page 1: ......
Page 22: ...e z L C D 4 0 5 22 Rev 2016 Earth Computers Tech Inc Figure 2 ezLCD 405 Schematic...
Page 32: ...e z L C D 4 0 5 32 Rev 2016 Earth Computers Tech Inc...
Page 52: ...e z L C D 4 0 5 52 Rev 2016 Earth Computers Tech Inc SET_COLOR SET_XY...
Page 102: ...e z L C D 4 0 5 102 Rev 2016 Earth Computers Tech Inc...
Page 109: ...e z L C D 4 0 5 109 Rev 2016 Earth Computers Tech Inc...
Page 118: ...e z L C D 4 0 5 118 Rev 2016 Earth Computers Tech Inc...