ESP32 TFT display library

Posts: 386
Joined: Tue Mar 20, 2018 11:36 am

Re: ESP32 TFT display library

Postby Deouss » Thu Aug 02, 2018 3:16 pm

Is there some register call to wait for Vsync ?
I am getting tearing effect after spi loads full tft frame

Posts: 1
Joined: Tue Nov 27, 2018 4:02 pm

Re: ESP32 TFT display library

Postby jstoefer » Tue Nov 27, 2018 4:06 pm

since I am interested in using a ILI9341-based TFT with 3-wire IF, how is the state of support for 3-wire ?
Greetings, Jan

Posts: 2
Joined: Sun Mar 05, 2017 10:31 pm

Re: ESP32 TFT display library

Postby devleon » Mon Feb 11, 2019 12:49 am

JanJansen47 wrote:
Tue Jun 20, 2017 12:29 pm
I measured the signals with a scope and found a strange signal on the SDO from TFT and Touch (same line). I disconnected the SDO connection from the TFT and directly wired it to the Touch.
At least TFT and touch is working for now. ;) But it does not feel okay. So I ask the supplier.
My wiring is available on request.
Please share your wiring with us, as the poster before mentioned, it isn't quite clear what was meant.
I have a ER-TFTM035-6 and the touch also just doesn't seem to work. It only works when I disconnect SLC, SDO and SDI from the TFT completely. But then I have no tft, only touch.

Posts: 9
Joined: Sat Nov 10, 2018 4:21 pm

Re: ESP32 TFT display library

Postby ltbeck » Thu Mar 14, 2019 2:02 pm

I’m experimenting with this library using a ESP32 Pico kit v4.1 and this touchscreen TFT panel: ... li9341.jpg

I have it hooked up this way:

• mosi: 23
• miso: 19
• sck: 18
• CS: 5 (display CS)
• DC: 26 (display DC)
• TCS: 25 (touch screen CS)

Reset and LED are tied high. MISO and MOSI are shared with T_DO and T_DI.

All of the TFT functions work great (displays the JPEGs, etc.) but the touch does not work, i.e using demo and a stylus, nothing appears on the screen. I’ve thrown in a few “printf’s” to see if the touch is detected and it appears that it is not.

Any hints?



Posts: 801
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 TFT display library

Postby chegewara » Fri Mar 15, 2019 6:01 am

I would like to thank @loboris for this library. Its easy to use and with it i build a toy for my autistic 3 years old nephew.

Recently i bought m5stack and since my nephew loves colors, numbers and read words he already knows i decided to use it.
Each button is generating random value and display it on screen:
- button 1 for colors, he knows colors in at least 3 languages,
- button 2 for numbers in range 0-100, he knows it in 2 languages already,
- button 3 for random words from preconfigured in app, for now i am using only Polish words, even if he knows words in other languages too.

Its very simple educational toy and he is very happy with it, thanks again.

Posts: 9
Joined: Tue Jan 01, 2019 9:13 am

Re: ESP32 TFT display library

Postby huybk213 » Fri Jun 14, 2019 5:07 am

Hi every one,

I'm using ESP32 TFT display library with ST7789 driver.

But color was invert, for example when i call function TFT_fillWindow(TFT_BLACK) , the screen is WHITE, and TFT_fillWindows(TFT_RED) the screen is green.

I don't know why this problem happen.

Who is online

Users browsing this forum: No registered users and 2 guests