OLIMEX / MOD-LCD2.8RTP

TFT COLOR LCD module with UEXT connector for ESP32-EVB
Apache License 2.0
6 stars 13 forks source link

graphicstest_olimex.ino doesn't work the latest Adafruit_ILI9341* libs #3

Open RossRogers opened 4 years ago

RossRogers commented 4 years ago

If you take /SOFTWARE/Arduino/graphicstest_olimex directory and run it, it displays great.

If you take the same directory and delete all Adafruit_* files from there, then in Arduino IDE go to Tools -> Manage Libraries and download the latest versions of those files, the display does not work.

The latest Adafruit_ versions will work if you run /SOFTWARE/Arduino/graphicstest_olimex first, no mods, then your code using the latest Adafruit_ libraries WITHOUT LOSING POWER. Thus, there seems to be an issue with the initialization of the MOD-LCD2.8RTP using the latest Adafruit* libraries. However, if you cycle power with your own code and the latest Adafruit* libraries, you'll find that it won't display properly.

So, word to others: if this issue has not been closed, you should use the Adafruit_ files found in this repo under /SOFTWARE/Arduino/graphicstest_olimex and not the latest Adafruit_ releases.

haakonnessjoen commented 2 years ago

If you look at one of the first commits in this repo: 3376469, you see they have patched it to work with the olimex display. Not sure if that is all that is needed or what. Or even why. But it might be the only change needed in a later Adafruit library 🤷🏻