In case of someone wants to play with XPT2046 touch screen controller that can be found on the new ILI9341 SPI LCDs, I wrote a simple sketch for that.
The sketch prints the X,Y coordinates on Serial port 1 (values 0-4095).

I convert the example sketch into a library XPT2046_touch and I added two example sketches also.
The first sketch checks the touch screen to see if it is pressed. Then, it prints the X,Y coordinates to the Serial port 1. That example is the same with the sketch I published on the first post.

The second sketch creates some virtual buttons on the touch screen area. The number of the buttons is set in to the sketch