Hi everyone!
I need help to get my Displays faster, hope some of you have advice for me.
I use following hardware: Arduino Mega 2560, MPU6050 acceleration sensor, two 2,2" 320x240 QVGA TFT SPI Displays.
Whe i tried to get the Displays working, i tried with a few libs. The only one which worked was the Adafruit ILI9340. So everything was fine. But now i have a faster singnal (accelerations and angles from MPU6050) and when redrawing the screen it flickers and don't runs smooth (it takes about 185 milliseconds to redraw).
Therefore i tried some optimized libs, without sucsess:
ILI9341_t3-master -> says I am using Teensy and its not compatible for my hardware
TFT_ILI93XX-master -> works, but always a grey rectangle in the background. Don't seems to be faster.
PDQ_ILI9340 -> Display stays white
PDQ_ILI9341 -> Display stays white
and all other from the PDQ_GFX_Libs-master collection with the same result.
I can't understand why PDQ_ILI9340 is not working. And there is another important question: How can you use two displays with this lib? With Adafruit it's easy, because you initialize the object with the pins, but here you have a seperate file.
You can find my two sketches attached.
Hope you can help me, or someone maybe has another idea.
Thanks in advance and nice evening!
MPU_mit_TFT_ADF.ino (21.1 KB)
MPU_mit_TFT_PDQ.ino (21 KB)
PDQ_ILI9340_config.h (2.37 KB)