how to use an external touch library wih tft_espi #2111
-
how can is use an external touch library (for XPT2046) with tft_espi |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I have already suggested a suitable library for you here: Have you looked at that? Code is included in the examples that comes with the library!!! Please only raise "issues" for problems with the TFT_eSPI library, not for gerneral how to questions. |
Beta Was this translation helpful? Give feedback.
-
I had a look at your profile and saw you are 13, so in view of that I will provide more help. The TFT_eTouch library can be found here: You need to download the zip file and install the library manually in the Arduino IDE. There are online guides that tell you how do this, so Google that. The touch screeninterface pins need to be connected up to the processor and those pins defined in the example sketches for the library. Library documentation is included in the docs folder. The examples should work fine with little modification. Try them all. I have only briefly used that library when it was first created so am unable to give detailed support in the case of difficulties with it. |
Beta Was this translation helpful? Give feedback.
I had a look at your profile and saw you are 13, so in view of that I will provide more help. The TFT_eTouch library can be found here:
https://github.com/achillhasler/TFT_eTouch
You need to download the zip file and install the library manually in the Arduino IDE. There are online guides that tell you how do this, so Google that.
The touch screeninterface pins need to be connected up to the processor and those pins defined in the example sketches for the library. Library documentation is included in the docs folder. The examples should work fine with little modification. Try them all. I have only briefly used that library when it was first created so am unable to give detailed support in…