TFT Flickering using ILI9341_t3DMA

Status
Not open for further replies.
Hi every one,

I am using Teensy 3,6 and TFT ILI9341 and ILI93141_t3DMA library to do RC EFIS emulator.

I'm having problems with flickering on the display. http://youtu.be/o3HQrxk5x28
I'm using a similar technique to play videos. https://forum.pjrc.com/threads/36751-Teensy-3-6-plays-video-from-SD-Card

Could you help me solve this problem?

Source Code

Yes, in this case, you can try not to use the automatic refresh.
So, remove the tft.refresh() call, and call tft.refreshOnce() instead, when you are ready with drawing.

How man updates per second do you have?
 
Yes, in this case, you can try not to use the automatic refresh.
So, remove the tft.refresh() call, and call tft.refreshOnce() instead, when you are ready with drawing.

How man updates per second do you have?

Thanks Frank,

Thanks for your answer.
I remove tft.refresh() and I put tft.refreshOnce() after update buffer with new data, but unfortunately it did not work, the displays stopped showing the pictures. Only worked correctly with tft.refresh();

Would you have another idea for solving the problem? :D

I am using 25 fps.

I edited the original library to use the buffer screen16, putting the pixel data in 565 format. (I do not know if that's the problem.)

ILI9341_t3DMA.h
extern uint16_t * screen16;

My code defines.h
uint16_t * scr = screen16;
 
Status
Not open for further replies.
Back
Top