迪文科技论坛

 找回密码
 立即注册
搜索
查看: 221|回复: 4

[Question]Hex Command

[复制链接]

1

主题

2

回帖

28

积分

新手上路

Rank: 1

积分
28
发表于 2022-6-10 23:08:54 | 显示全部楼层 |阅读模式
I just joined this forum, sorry if it's in the wrong room.

i have problem with HEX command for screen DMG12480C068_03WTC

With the help of a sales engineer, the speaker can go into the off state to beep
the hex is 5A A5 07 82 00 80 5A 00 00 35
but I can't make it on even with HEX 5A A5 07 82 00 80 5A 00 00 79
can anyone help for correct hex?

2nd question, can DWIN screen send HEX when the screen is touched and wake up (from sleep state)
the goal is to let the MCU know when the screen wakes up

3rd question
can DWIN screen send HEX when enter sleep mode?
The goal is to let the MCU know when the screen is sleeping

Thank you, I hope someone can help me with my problem
回复

使用道具 举报

0

主题

692

回帖

8656

积分

论坛元老

Rank: 8Rank: 8

积分
8656
发表于 2022-6-11 14:52:07 | 显示全部楼层
1. try this command 5A A5 07 82 0080 5a 00 00 3d

2. you can send a 0x00d4 serial port screen operation simulation to the screen to light up the screen

3.mcu can read 0x31 address to obtain the current brightness value of the screen
沧海横流,方显英雄本色。
回复

使用道具 举报

1

主题

2

回帖

28

积分

新手上路

Rank: 1

积分
28
 楼主| 发表于 2022-6-11 21:04:04 | 显示全部楼层
Lreamy 发表于 2022-6-11 14:52
1. try this command 5A A5 07 82 0080 5a 00 00 3d

2. you can send a 0x00d4 serial port screen operat ...

thanks Lreamy for your response  

1.5A A5 07 82 00 80 5A 00 00 3D not working, beep sound still off

2. I mean when the display is in a sleep state and when touched with a finger, the display wakes up and when it wakes up, can the display send a wake-up state HEX?
so display sends HEX to MCU wake state

3. 3. so my display configuration is 10 seconds display sleep, when the display goes to display state can the display send HEX to MCU not MCU check the display

thank you for your help
回复

使用道具 举报

0

主题

692

回帖

8656

积分

论坛元老

Rank: 8Rank: 8

积分
8656
发表于 2022-6-13 08:59:53 | 显示全部楼层
nexium 发表于 2022-6-11 21:04
thanks Lreamy for your response  

1.5A A5 07 82 00 80 5A 00 00 3D not working, beep sound still ...

1. I tested that this command is normal, and the buzzer can be turned on and off.

2. if the screen is required to actively send instructions to MCU, it is required to write code in the screen
沧海横流,方显英雄本色。
回复

使用道具 举报

1

主题

2

回帖

28

积分

新手上路

Rank: 1

积分
28
 楼主| 发表于 2022-6-13 10:38:16 | 显示全部楼层
Lreamy 发表于 2022-6-13 08:59
1. I tested that this command is normal, and the buzzer can be turned on and off.

2. if the scree ...

Hi Lreamy

Thanks for help

1. DMG12480C068_03WTC not buzzer but speaker, that same HEX?
2. How to write code on screen, I can't find to write code in DGUS tool v7

Thanks
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-10 04:02 , Processed in 0.039053 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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