Speading up the validTouch() function. #1565
Unanswered
FingolSE
asked this question in
Q&A - Touch
Replies: 1 comment
-
Thanks for the tip. I am surprised that the change has such a significant effect. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When running my touch display with TFT_eSPI library the checking of the touch display is rather slow. It may be due too some induced signal triggering the while loop "Wait until pressure stops increasing to debounce pressure". By adding a requirement that z1 needs to be larger than z2+5 lowers the response time from validTouch by a factor of 3 in my HW environment.
wbr Håkan
Beta Was this translation helpful? Give feedback.
All reactions