font and bitmap ?les combined up to 16 Kbytes. This section co
vers uploading, downloading, deleting and
moving ?les, as well as getting the remaining space or wiping
the ?lesystem.
12.1.1 File Upload Protocol
In order to allow fonts and bitmaps to be uploaded to the on board ?ash memory Matrix Orbital has
developed a simple protocol that supports RS-232/TTL or I2C communications. In order to begin a ?le
transmission the ?rst step will be to provide the display mod
ule with the appropriate command bytes, mean-
ing the command pre?x, 0xFE, followed by the command number,
0x24 for a font ?le, or 0x5E for a bitmap
?le. This will begin the ?le transfer sequence. The next step
will be to request a reference identi?cation
number (ref ID) which will allow you to identify the ?le for fu
ture use. Reference ID numbers can be any
byte between 0x01 and 0xFF, however each ID must be unique.
The next part of uploading a font ?le is to provide the display
module with the two byte ?le size of the
data that you wish to transfer, LSB to MSB. The LSB must be transmitted ?rst followed by the MSB. After
receiving the MSB the display module will send a con?rm byte,
0x01, if the ?le ?ts and continue, or decline
byte, 0x08, and terminate the session.
Byte
Description
0x01
Con?rm: Will continue the ?le transfer.
0x08
Decline: Terminate the session.
The last part of uploading a font ?le is to upload the ?le data.
After transmitting each byte of the ?le the
module will echo the byte and wait for a con?rmation byte of 0x
01 until the ?le has completed uploading.
Below is an example of uploading the font ?le which we created
in
Section 5.1.2 on page 20.
Matrix Orbital GLK12232-25
43
相关PDF资料
GLK240128-25-WB-V LCD GRAPHIC DISPL 240X128 BLU/WH
GLK24064-16-1U-TCI-VPT GRAPH DISP 240X64 TRICLR WD VLT
GLK24064-25-WB-V LCD GRAPHIC DISPL 240X64 BLU/WHT
GLT240128-FGW-VPT LCD TOUCH 128X240 WHT/GRY
GM2BB50BM0C LED WHITE 5000K 150MA 0.5W
GM5YJ01210A LED ORANGE CLEAR 6050 SMD
GU128X128D-3900B VACUUM FLUORESCENT DISPLAY
GU144X16D-7053B VACUUM FLUORESCENT DISPLAY
相关代理商/技术参数
GLK12232-25-USB-WB 功能描述:LCD GRAPHIC DISPL 122X32 RoHS:是 类别:光电元件 >> 显示器模块 - LCD,OLED,图形 系列:- 标准包装:1 系列:* 其它名称:Q7143510
GLK12232-25-USB-WB-E 功能描述:LCD GRAPHIC DISPL 122X32 RoHS:是 类别:光电元件 >> 显示器模块 - LCD,OLED,图形 系列:- 标准包装:1 系列:* 其它名称:Q7143510
GLK12232-25-WB 功能描述:LCD GRAPHIC DISPL 122X32 WHT/BLU RoHS:是 类别:光电元件 >> 显示器模块 - LCD,OLED,图形 系列:- 标准包装:1 系列:* 其它名称:Q7143510
GLK12232-25-WB-E 功能描述:LCD GRAPHIC DISPL 122X32 WHT BLU RoHS:是 类别:光电元件 >> 显示器模块 - LCD,OLED,图形 系列:- 标准包装:1 系列:* 其它名称:Q7143510
GLK12232-25-WBL 功能描述:LCD 图形显示模块和配件 Gray Background Blue Text RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLK12232-25-WBL-V 功能描述:LCD 图形显示模块和配件 Gray Background Blue Text RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLK12232-25-WB-USB 功能描述:LCD 图形显示模块和配件 122x32 Wht Txt Blu B/G 25 key RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLK12232-25-WB-USB-E 功能描述:LCD 图形显示模块和配件 122x32 Wht Txt Blu B/G Ext Temp RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk