Closed UnforeseenOcean closed 1 year ago
It appears this method of adding the tft setup information in the sketch only works in certain circumstances. I cannot see a work-around for this situation, it appears to be due to the way the Arduino IDE isolates the libraries and sketches during the compile process and this cannot be easily changed.
Since there are a number of problems cropping up with this apporach I will be deleting this capabilty from the library.
In this case it is necessary to use the original approach of calling up the required setup file in the User_Setup_Select.h file, this can be found within the library folder.
I have removed the example and updated the ReadMe as noted above. The adding of a setup file in the sketch folder is now deprecated. If a reliable wor-around can be found this will be documented at a future date.
Thansk for reporting this.
Plus further information as appropriate to the problem:
Screenshot:
The sketch: eSPI_TFT_Test.zip
There is a 75% chance I missed something in the code and the library is not at fault, however I tried everything I could and yet I couldn't make it work. Any help would be appreciated.