Description The LCD2041 allows for upta to eight custom de?n
ed characters to be
added onto the the character set. A custom character is a ?ve b
y eight
pixel matrix with each row represented by a byte value. For example:
Custom Character ’h’
Decimal
Hex
1
0
0
0
0
16
0x10
1
0
0
0
0
16
0x10
1
0
0
0
0
16
0x10
1
0
0
0
0
16
0x10
1
0
1
1
0
22
0x16
1
1
0
0
1
25
0x19
1
0
0
0
1
17
0x11
1
0
0
0
1
17
0x11
Each bit value of one, in the table, represents an on pixel, whereas a value
of zero represents a pixel that is turned off. Therefore in order to de?ne
custom character 'h' you would send the command byte pre?x 25
4 fol-
lowed by the command 78. Next, you will have to select the memory
location in which you wish to save the character in. The available mem-
ory locations for this command are zero through to seven. After sending
the memory location, or [refID], you may then send the eight byte custom
character data in sequence from the top to the bottom.
Once you have de?ned a custom character you may display it by s
ending
the display module the [refID]. For example if a custom character was
saved in position one, the command to display the custom character, at
the current cursor position, would be simply to send the number one to
the display module without quotes.
Remembered No
6.3 Saving Custom Characters
Syntax
Hexadecimal 0xFE 0xC1 [Bank] [ID] [Data]
Decimal 254 193 [Bank] [ID] [Data]
Parameters
Parameter Length Description
Bank 1 Memory bank to save to (0-4).
ID 1 Character ID (0-7)
Data 8 Character De?nition
Matrix Orbital LCD2041
27
相关PDF资料
LCM-480234GF-40CG LCD TFT 4.0" MODULE W/NTSC DEC
LCM-960234GF-64FC LCD TFT 6.4" MODULE W/NTSC DEC
LCM-H12864GSF/H-Y LCD MOD GRAPHIC 128X64 W/LED
LCM-H24064GSF LCD GRAPHIC 240X64 TRANSFL FSTN
LCM-S00802DSF LCD MODULE 8X2 CHAR TRNSFL STN
LCM-S00802DSR LCD MODULE 8X2 CHAR REFL STN
LCM-S00802DTF LCD MODULE 8X2 CHAR TRNSFL TN
LCM-S00802DTR LCD MODULE 8X2 CHAR REFLECT TN
相关代理商/技术参数
LCD2041-V-E 制造商:Matrix Orbital 功能描述:20x4 Blk Txt, Y/G BG Low Volt, Ext Temp
LCD2041-VPT 功能描述:LCD字符显示模块与配件 20x4 Blk Txt Y/G B/G Voltage Regulator RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
LCD2041-VPT-E 制造商:Matrix Orbital 功能描述:20x4 Blk Txt, Y/G BG Wide Volt, Ext Temp
LCD2041-WB 功能描述:LCD字符显示模块与配件 Blue Background White Text RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
LCD2041-WB-E 功能描述:LCD字符显示模块与配件 20x4 Wht Txt Blu B/G Ext. Temp No Key LCD RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
LCD2041-WB-V 功能描述:LCD字符显示模块与配件 20x4 Wht Txt Blu B/G Ext. Volt No Key LCD RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
LCD2041-WB-V-E 制造商:Matrix Orbital 功能描述:20x4 Wht Txt, Bl BG Low Volt, Ext Temp
LCD2041-WB-VPT 功能描述:LCD字符显示模块与配件 20x4 Wht Txt Blu B/G Voltage Regulator RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk