|
The demo mainly demonstrates the main functions of the T5L_DGUSII platform,For a better demo, the description pointer and the 22. Bin file of power-on loading data are used.
For example,
(1)Turn touch sounds on or off
The variable address of 0x80 starts with a 2-word storage instruction:OFF(0x):5A 00 00 30,ON:5A 00 00 38
So,we just need store the instruction into the 22.bin file that can load data to RAM when power-on,
And then,configure the sync control,after pressing, load the data to 0x80 to close and open the touch sound.
(2)Data window
Combined with sliding gesture adjustment to realize data scrolling,
Cooperated with the increment adjustment to realize the increase and decrease of data,
Combination of description pointer to achieve color and font size changes.
(3)Synchrodata return
There are three states: first press, continuous press, and release press. So a pinch returns three sets of data to a specified variable space.
For example,
Press different Numbers to correspond to changes in 3 groups of ICONS,in the demo.
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|