ESP32 + ILI9341 + Openweather - small font corruption on weather updates #1580
-
I'm having a problem with TFT_eSPI_Openweather and TFT_eSPI I have been unable to solve. Configuration: 30-pin ESP32 Devkit, 2.8" ILI9341 TFT touchscreen using pins suggested in User_Setup.h, latest Openweather source and TFT_eSPI library from your repository. Symptom: The program starts normally (see first image below), connects to WiFi, grabs weather info, and correctly draws the initial screen. The problem comes with any subsequent updates. When the screen is redrawn any time after downloading the update, the small font becomes corrupted (see second image below). All of the icons and the large font remain fine through all subsequent updates, but the small font ONLY remains corrupted. Suspecting a speed problem in one component or the other, I tried slowing the SPI bus down to 5MHz as well as dropping the ESP32 to 80MHz CPU/40MHz flash with no change in the symptoms. I have three ESP32s (all the same) and two identical ILI9341 displays, and the problem is consistent across all of them. The program also runs perfectly when replacing the ESP32 with an ESP8266 and adjusting User_Setup.h while using the same two displays. All of the example programs for the TFT library run perfectly on either microcontroller. Any idea what the problem is? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks! Your recent commit to Openweather fixed it on the ESP32. |
Beta Was this translation helpful? Give feedback.
Thanks! Your recent commit to Openweather fixed it on the ESP32.