Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: TFT Flickering using ILI9341_t3DMA

  1. #1

    TFT Flickering using ILI9341_t3DMA

    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...o-from-SD-Card

    Could you help me solve this problem?

    Source Code

  2. #2
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,567
    Quote Originally Posted by pauloalmeida View Post
    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...o-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?

  3. #3
    Quote Originally Posted by Frank B View Post
    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?

    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;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •