请选择 进入手机版 | 继续访问电脑版

迪文科技论坛

 找回密码
 立即注册
搜索
热搜: T5L 视频屏 DGUS OS
查看: 85|回复: 0

[DEMO]DMG80480C043_01W T5L DGUS II project

[复制链接]

218

主题

307

帖子

2376

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2376
发表于 2020-9-15 17:22:25 | 显示全部楼层 |阅读模式
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 0x0080 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 0x0080 to close and open the touch sound.

(2)Reset
The variable address of 0x0004 starts with a 2-word storage instruction(0x):55 AA 5A A5,
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 0x0004 to reset.

(3)Draw circle
Use basic graphic control.
The instruction(0x): 0005 0001 00E9 011D 0040 F800
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 the address of basic graphic control to display circle.
With the increment adjustment button,Modify the radius of the circle, the size can be adjusted.

(4)Touch any position to display coordinate values
System variable interface 0x17 is the coordinate position X coordinate pressed by the touch screen,and 0x18 is  X coordinate.
Coordinate with data variable display control can display the coordinate value of touch in real time.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|迪文科技论坛 ( 京ICP备05033781号-1 )

GMT+8, 2020-10-1 20:10 , Processed in 0.013822 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表