Setup Documentation and help with class TFT_eSPI' has no member named 'getTouch' error #2366
-
I looked through the readme and reviewed other sources, but I am still struggling to setup the environment. I was hoping there could be a more detailed explanation of how to setup the environment for Arduino. I understand you can use either User_Setup.h or User_Setup_Select.h, but how is it determined which one of these are used? The Tips section did a good job of explaining in a little more detail. My current problem is a If I understand correctly, using the approach in Tips I should have a User_Setup_Select.h with:
and the User_Setup.h line should be commented out like this:
based on this comment in the file:
and the User_Setup_Select.h file should be in the I copied |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The User_Setup_Select.h file tells the compiler where to find the header that contains the setup information. By default it points to User_Setup.h, but it can be modified t point to one of the example setup files in the User_Setups folder or to a folder of your own making. All other setup file path lines must be commented out except the one you wish the compiler to find. The simplest way forward is to see if there is an existing setup file that meets your needs or one that is close enough and can be altered. If the display does not have a touch screen then do not define TOUCH_CS Provide information on the processor you are using, the display and interface type and I can provide information more relevant to your particular situation. |
Beta Was this translation helpful? Give feedback.
The User_Setup_Select.h file tells the compiler where to find the header that contains the setup information. By default it points to User_Setup.h, but it can be modified t point to one of the example setup files in the User_Setups folder or to a folder of your own making. All other setup file path lines must be commented out except the one you wish the compiler to find.
The simplest way forward is to see if there is an existing setup file that meets your needs or one that is close enough and can be altered. If the display does not have a touch screen then do not define TOUCH_CS
Provide information on the processor you are using, the display and interface type and I can provide informatio…