I have a 2.8" TFT touch screen (Velleman VMA412) - the few examples that use the touch panel call up TouchScreen.h library.
I'm curious if it is possible to use the URTouch library with my screen?
I'm stuck on figuring out how the connections work - URTouch object has arguments to find pins like so... URTouch(TCLK, TCS, TDIN, TDOUT, IRQ);
But the documents that came with the hardware give no indication of what those pins would be on the board. The pinout list covers the LCD parallels, the SD card and the power/gnd set.
TouchScreen.h in the examples for my product defines XP,XM,YP,YM only.
Is there a way to know what pins would function as per the above? ... or is my shield not capable of playing with URTouch?
Seriously. Please post a link to the actual screen that you have bought.
Ok, I could Google your model number. And it brings up a 2.8 inch Mcufriend Shield. (white pcb instead of the normal blue 2.8 pcb)
No, you can't use URTouch.h because your shield does not have XPT2046 Touch Controller chip.
I recommend that you just install MCUFRIEND_kbv library and run the examples. Other libraries are available.
I wrote UTFTGLUE just so that I could run legacy UTFT programs on the MCUFRIEND hardware.
There are too many differences in the individual graphics methods to edit "by hand".
However you would never want to write a new project with UTFTGLUE. I don't find the UTFT syntax intuitive.
Adafruit_GFX is not only intuitive but is adopted by most Arduino code.