-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRV_TOUCH_TFT_ESPI v0.12.0 touch not working #149
Comments
Thanks very much for reporting this! You are right... while I had tested the new I have now uploaded a fix for this in the repository (version 0.12.0.1) (guide: download & install the latest GitHub release ). Assuming this works for your setup, I will push the change into an upcoming release Other background info
|
- Load calibration from config - Applies to DRV_DISP_TFT_ESPI + DRV_TOUCH_IN_DISP
Sorry for taking so long. |
Thanks for the followup, notascooby. The fact that the calibration sketch is working for you is a good indicator that the TFT & Touch are both operating correctly. I just retested with my ESP32 setup, similar config and it appears to be functional, so there must be a loose end here. If you have an opportunity to try the following, that would be appreciated:
thanks! |
I can confirm that the amended version of 12.0 does work Could the diag_ard_touch_calib sketch also display the ADATOUCH_PRESS_MIN/MAX values as I for one didn't know what these values should be. |
Excellent... thank you for confirming that the latest version works properly and attaching the output files! I agree with you that the diagnostic sketch would be a good place to help users identify a suitable range for |
Firstly, what a great library and professional docs.
Just installed v12.0 over v11.2 and re-compiled my project in Arduino 1.8.9 for ESP32. Touch screen no longer works. Calibrated screen using "diag_ard_touch_calib sketch" which worked perfectly. Entered new values in esp-tftespi-default-xpt2046_int.h (ADATOUCH_X_MIN etc.)
and tried your Arduino example ex5 sketch, but same issue, no Touch.
In previous versions I used TFT_ESPI_TOUCH_CALIB { 321,3498,280,3593,3 }. In v12.0 I have also modified the TFT_ESPI_TOUCH_CALIB line with { 321,3498,280,3593,3 } in addition to the ADATOUCH_X_MIN etc.
Tried changing ADATOUCH_PRESS_MIN & MAX values but still no Touch. (how do we know what these values should be)
Un-installed Guislice & re-installed but no Touch.
My GuiSlice Configuration:
config.h has /configs/esp-tftespi-default-xpt2046_int.h enabled
config_arg.h has DRV_DISP_TFT_ESPI enabled, & DRV_TOUCH_TFT_ESPI enabled
Using TFT_eSPI v. 1.4.11. GPIO as follow:
//Used for Display & Touch screen
TFT_MISO 25
TFT_MOSI 23
TFT_SCLK 19
TFT_CS 22 // Chip select control pin.
TFT_DC 21 // Data Command control pin.
TFT_RST 18 // Reset pin (could connect to RST pin)
TOUCH_CS 14 // Chip select pin (T_CS) of touch screen
Hardware of device
ESP32 development board
3.5" RPI touch_ILI9341 display not modified (very similar to the one in your modification picture)
All has worked well through versions 10.x & 11.x.
Any help appreciated as I have had to revert to v11.2 for now
Thanks
The text was updated successfully, but these errors were encountered: