Xinyuan-LilyGO / T-Display-S3

MIT License
734 stars 174 forks source link

Local library copies #104

Closed svdrummer closed 1 year ago

svdrummer commented 1 year ago

Does anyone know how to store local libraries within the sketch folder. Swapping libraries between S3 models and other devices that use the TFT library has become painful. Even renaming the library would help. SPI vs 8bit parallel and having two special libraries with the same name doesn't work for most people.

mmMicky commented 1 year ago

You can update the latest version of the TFT library, which has added the driver for this board.

svdrummer commented 1 year ago

I saw the new version..however... Doesn't lvgl and a few others have to be changed? According to the other T-displayS3 GitHub main module support site. The one with all the drawings and how to set up instructions. Maybe I am wrong.

owiecc commented 1 year ago

The best you can do is to use PlatformIO. Then you can keep the pin and library config and inside the platformio.ini config file. No library swapping or modification is necessary. I will submit a PR with a minimal example soon.