Close

Instruction for keycode - How to use the button function without touching the screen

94754sakura94754sakura wrote 05/31/2021 at 05:30 • 1 min read • Like

11 11 2020 246 STONE Tech

To call up a pop-up menu by UART-command, or trigger the button without touch the screen, we need to use the keycode function.

How to use the button function without touching the screen?

1. Define the keycode value in the parameter box:

Instruction for keycode

2. After compile and download your project into the display, you can send the value to register 4F to trigger the matched button (A5 5A 03 80 4F 01)

Instruction for keycode


As you can see, the pop-up menu function triggered without press the button.

Notice: The keycode can be repeatedly defined. But while you sending the command, only the button on the current page will be a trigger (you can define several buttons with the same keycode value IN DIFFERENT PAGES, but only the button on the current page will be activated).

Like

Discussions