16-04-2018, 02:01
Hi engolling,
Thank you for the pictures of your display, and by the news about the updated Paul Stoffregen touch library (all work from Paul Stoffregen is fantastic).
I already give a look at the new library, and I liked the changes. If I manage to make it work with the standard display's, and also with the new ones, surely I will include it on the next software update.
The displays like your (with the yellow pins) doesn't seem the most problematic to add support, as the touch panel is the same and is installed in the same position than the TFT displays that we are using since ever.
If possible I would like to ask you a favour: using the TouchTest sketch included in the new library, could you please post here the coordinates of the four corners of your screen, using the four possible setting for ts.setRotation(x). This will be very helpful.
Please use this setting:
CS_PIN on Pro2 PLUS boards v2.x is pin 38
Once again, thank you.
Thank you for the pictures of your display, and by the news about the updated Paul Stoffregen touch library (all work from Paul Stoffregen is fantastic).
I already give a look at the new library, and I liked the changes. If I manage to make it work with the standard display's, and also with the new ones, surely I will include it on the next software update.
The displays like your (with the yellow pins) doesn't seem the most problematic to add support, as the touch panel is the same and is installed in the same position than the TFT displays that we are using since ever.
If possible I would like to ask you a favour: using the TouchTest sketch included in the new library, could you please post here the coordinates of the four corners of your screen, using the four possible setting for ts.setRotation(x). This will be very helpful.
Please use this setting:
Code:
XPT2046_Touchscreen ts(CS_PIN, 255); // Param 2 - 255 - No interruptsCS_PIN on Pro2 PLUS boards v2.x is pin 38
Once again, thank you.

