Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Oldmicroguy
#45882 Here is my problem:
I would like to use the Adafruit_ILI9341 TFT-LCD library for the same sketches for both AVR and ESP8266. However, the Adafruit library https://github.com/adafruit/Adafruit_ILI9341/tree/1.0.1 only works for AVR and the library https://github.com/Links2004/Adafruit_ILI9341only works for ESP8266.

At the present time I have to manually delete the current version and install a different version when changing from one micro to the other. This is a big pain. Does anyone have a suggestion on how to correct this?

Oldmicroguy
User avatar
By schufti
#45907 you can just rename the esp one to e.g. Adafruit_espILI9341.
you have to rename the directory, .c and .h file accordingly.

maybe it is also possible by just editing the "architectures" entry in file library.properties ???