Replies: 7 comments 2 replies
-
Read_User_Setup.ino Output:
|
Beta Was this translation helpful? Give feedback.
-
I had another discussion about that issue in the forum Here the workaround: Is it planned to control that via setup? From coding perspective it does not look like. |
Beta Was this translation helpful? Give feedback.
-
The threshold can be set in the getTouch call, for example here the Z pressure threshold is set to 600:
Note that for an ILI9488 screen the display SDO pin must be left unconnected. |
Beta Was this translation helpful? Give feedback.
-
getTouch with theshold is fine, but the function calibrateTouch in Touch.cpp is using the constant Z_THRESHOLD and this function is even deviding the value by 2? Why is that devided? |
Beta Was this translation helpful? Give feedback.
-
Yes understood. But I thought you have added the threshold parameter for exactly such a use case for "unnormal" touch screens, so that it is not necessary to modify your coding. |
Beta Was this translation helpful? Give feedback.
-
With the latest 2.5.23 version you can add the threshold to the setup, eg: |
Beta Was this translation helpful? Give feedback.
-
But this is only for calibrateTouch and will be devided by 2. |
Beta Was this translation helpful? Give feedback.
-
I really like this library, but currently I am struggeling with the touch functionality.
My board ILI9488
My ESP DevKitC
Wiring
Setup: Setup204_ESP32_TouchDown.h
The problem is that I cannot calibrate the TFT. It is doing that without touching it on its own.
I cannot influence that. The self-calibating is too fast :-)
Now I have tested with Test_Touch_Controller.ino and the output of z is changing all the time without touching:
If I tab the values are changing - so in general it seems to work.
Any help would be appreciated!
Thanks in advance, Roger
Beta Was this translation helpful? Give feedback.
All reactions