
9
I. Blink the display
STX FETX
HOST to DEVICE (3 bytes)
02H 46H 03H
DEVICE to HOST (1 bytes) ACK/NACK
Display will blink by this command, until the device is interrupted by next operation, like communication,
key-in, …etc.
Device will reply ACK, if this command is acknowledged. Otherwise, reply NACK.
J. Show text message and save it to the text message page
STX Yn <DATA…> ETX
HOST to DEVICE (5 bytes min.)
02H 59H bin <DATA…> 03H
DEVICE to HOST (1 bytes) ACK/NACK
n=30H, Show text message to LCD, but never keep it.
31H<=n<=3CH, Show text message to LCD, and save it to the text message page n.
The maximum number of text message is 32 digits for each page and can save 12 pages maximum.
Note: This new saved message will be replace the pre-saved page of factory default page for next
use.
Device will reply NACK if the message is over this maximum value.
Device will reply ACK and display this message on LCD, if this command is acknowledged.
K. Show graphic message(only work for graphic LCD model 122*32 dots)
STX ZXPOS YPOS XLEN YLEN <DATA…> ETX
HOSTÆDEVICE
02H 5AH bin bin bin bin <DATA…> 03H
DEVICEÆHOST ACK/NACK
Note. This command only work with graphic LCD models
00(H)<=XPOS<=79(H), the left-most position of block image
00(H)<=YPOS<=1F(H), the top-most position of block image.
01(H)<=XLEN<=7A(H), the length of block image.
01(H)<=YLEN<=20(H), the height of block image
<DATA…>, block image data. Byte by byte, sequent, from top to bottom, left to right.
However,
(1)When YLEN is less than or equal to 8 dots(08H),the block image data should be made from top to
bottom and from left to right until the maximum XLEN, and each data must be made as 8 bits(1 byte) from top
to bottom. Please see the example as below to make D(1),D(2),D(3),….
(2)When YLEN is more than 8 dots(08H) and less than or equal to 16 dots(10H), the YLEN should be
divided by 8 into two sectors. Then the block image data should be made from top to bottom and from left to
right until the maximum XLEN within the most upper LEN sector, then go to the second upper YLEN sector
to make data as the same procedures as within the most upper YLEN sector.
(3)When YLEN is more than 16 dots(10H) and less than or equal to 24 dots(18H), the YLEN should be
divided by 8 into three sectors. Then the block image data should be made as the same procedures as above