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

Thread: Which ILI9341 library to use for T4.x?

  1. #1
    Junior Member
    Join Date
    Mar 2015
    Posts
    9

    Which ILI9341 library to use for T4.x?

    I noticed in the most recent Teensyduino update that some fixes were made to the ILI9341_r4 library. However, in doing many searches on the forums here and on google in general, I cannot find anything about the library. Also, it looks like folks are using the ILI9341_t3 or ILI9341_t3n libraries for the T4.x series.

    Which ILI9341 libs should I be using for my T4s? And what is the "r4" variant?

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,661
    Sorry never heard of the r4 library.

    As for which library to use...

    You of course also have the option of using the Adafruit library.

    Depending on your needs, you can use any of them. I sort of have a preference for the _t3n library (as it is mine )

    Differences? between _t3 and _t3n...

    _t3n probably use up more memory than _t3 ...

    T3n has additional stuff in it:
    Things like: Support for all SPI Buses. So you can use SPI1 or SPI2 on T4.x

    We have a frame buffer that allows you to do all of your graphics to memory and then tell it to update the screen. The update can be done inline or can be done asynchronous using DMA. The DMA update can be setup to run continuous.


    We probably have more graphic primitives - At one point I back ported some back to _t3 but not sure how many...
    Also the original T4 support was done in _t3n and then I back ported it to _t3.

    Hope that helps.

  3. #3
    Junior Member
    Join Date
    Mar 2015
    Posts
    9
    Thanks for the response Kurt. The mention I saw of a ILI9341_r4 library was in Paul's post regarding Teensyduino 1.53: https://forum.pjrc.com/threads/61623...l=1#post244968 The line is:
    Fix ILI9341_r4 readcommand() & add readScanLine() on Teensy 4.x
    It's possible I'm looking at that out of context, but I thought it was an indication of something interesting.

    Quote Originally Posted by KurtE
    We have a frame buffer that allows you to do all of your graphics to memory and then tell it to update the screen. The update can be done inline or can be done asynchronous using DMA. The DMA update can be setup to run continuous.
    I think I'll take your ILI9341_t3n library for a spin since I'd like to make use of the frame buffer in a few of my projects.

Posting Permissions

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