Skip to main content
Associate II
Nov 11, 2023 8:07 AM UTC
Question

How to suppress shaking with buttons in Touchgfx

When using touchgfx buttons, a single press can trigger multiple times, and using regular software to delay seems to have no effect. Do you have a good way to suppress shaking or detect button bounce?

This topic has been closed for replies.

5 replies

Tinnagit
Senior II
Nov 11, 2023 8:27 AM UTC

I use sampling time to get data from touchscreen.

JixAuthor
Associate II
Nov 11, 2023 8:59 AM UTC

Can that achieve the effect of shaking reduction? Is the specific implementation of the method you mentioned operating in the C language or touchgfx C++code

Tinnagit
Senior II
Nov 11, 2023 9:57 AM UTC

I just use systemTick to repeat get data from touchscreen every 100ms and I update the screen every second by a function that it's created from interactive with N Tick and it was refreshed every second.
I didn't use a build-in button function.
I had create process flow by myself.