Hi,
Just a simple question without getting involved in loads of code.
Have been running an ili9341 tft screen with both an Ardunio Nano and ESP32 using the Adafruit GXF libraries but in SPI Software mode as that was the only one we could get working in our early days of C++.
Now tried running the standard Adafruit Example \ Graphic Test code example and have been able to get it to run in the much faster SPI Hardware mode.
However when we modify our existing program to run in SPI Hardware mode , the opening screen display in SetUP() works fine, but then anything in the main Loop() or subroutine does not display, just a White blank screen.
Its as if the tft.begin() routine has been closed down, though never seen any such instruction.
If we add tft.begin() to the main loops display code, it will then display ok, but there is a big screen pause each loop of the code as the tft.begin() re- initialises the screen again.
Our ESP32 code is not using any wifi/bt and just using very common libraries like Ds18b20, RTC and EEprom.
Anyone experienced similar problems and a cure ?
Just a simple question without getting involved in loads of code.
Have been running an ili9341 tft screen with both an Ardunio Nano and ESP32 using the Adafruit GXF libraries but in SPI Software mode as that was the only one we could get working in our early days of C++.
Now tried running the standard Adafruit Example \ Graphic Test code example and have been able to get it to run in the much faster SPI Hardware mode.
However when we modify our existing program to run in SPI Hardware mode , the opening screen display in SetUP() works fine, but then anything in the main Loop() or subroutine does not display, just a White blank screen.
Its as if the tft.begin() routine has been closed down, though never seen any such instruction.
If we add tft.begin() to the main loops display code, it will then display ok, but there is a big screen pause each loop of the code as the tft.begin() re- initialises the screen again.
Our ESP32 code is not using any wifi/bt and just using very common libraries like Ds18b20, RTC and EEprom.
Anyone experienced similar problems and a cure ?