For a while I have working with a project with the above component. To find out of the coordinate value I have created a little testprogram.
The way you create a button is you create a rectangle the size you want. To find out where you have to read the value of the X and Y inside this buttom you can use this program.
To set the limit for X and Y where to use the button I have done my in testprogram, is If : X < 70 AND X > 45 AND Y < 94 AND Y > 35 Then do.
(maybe there is an easyer way to set the limit)
Enable or disable the Macro "Readout" for what you want too see.
I have made this in FC8 because I have to use it in an another project in FC8. I suppose it work in FC9 too
![Wink :wink:](./images/smilies/icon_wink.gif)
I may say, the Ili9341 together with XPT2046 work exellent, perfect. Thank´s MM team.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
I have used a STM32F042 in the testproram I am sure other works too. This device is fairly fast with the Ili9341. Notice how I have set the config for the XPT2046 properties.
Hope this could help if you play with this display.
Br Jorgen