STWI104WT-01 Equipment Manual
Release 05/2021 www.stoneitech.com
8
Introduction
1.6 Operation Processing
Only
3 steps
to operate our TFT-LCD Module:
⚫
Build a new project by STONE GUI Design Software.
⚫
Connect with customer’s MCU through RS232,RS422,RS485,TTL directly, Plug & Play.
⚫
Write a simple program for MCU to control the TFT-LCD Module via Instruction Sets.
The communication protocol is built with 2 parts:
1
)
Initiative Instruction - JSON Code (MCU
→
TFT-LCD Module)
Frame header
instruction code
widget type
widget name
data
Frame tail
ST<
{
"cmd_code":"set_value"
,
"type":"label"
,
"widget":"label2"
,
"value":5
}
>ET
2
)
Passive Instruction - HEX Code (TFT-LCD Module
→
MCU)
Frame header
CMD
LEN
DATA
Frame tail
CRC16
53 54 3C
10 62
00 09
6C 61 62 65 6C 3F A1 47 AE
3E 45 54
6C 8B
More information, please refer to the document of Instruction Sets.