Bodmer / TFT_eSPI

Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
Other
3.66k stars 1.05k forks source link

Problem screen flash and blink (Using ESP32 and 1.9inch) #3390

Open NatachaJee opened 2 months ago

NatachaJee commented 2 months ago

Discussed in https://github.com/Bodmer/TFT_eSPI/discussions/3389

Originally posted by **NatachaJee** July 3, 2024 Hello, First, I'm grateful for the TFT_eSPI library. It's so useful and make my project look good. But unfortunately when I push EN on ESP32 or turn-on display the screen have a flash (around 1 second) like a picture then show normal screen. Could you please suggest me for fix it? I use #include and set up width 170 and height 320 already. ![449064100_1166676661081931_6154001224789516348_n](https://github.com/Bodmer/TFT_eSPI/assets/166633710/8b539003-6bf8-46bb-b979-b88fde5aeb66) ![448991599_1136962744026851_5133437046742820641_n](https://github.com/Bodmer/TFT_eSPI/assets/166633710/c6fa6cea-e3a2-45b6-b92d-eef9b72645b5) ![449665218_995719658894218_7950749576685487244_n](https://github.com/Bodmer/TFT_eSPI/assets/166633710/6750733a-bd17-49e1-9783-57d90f2f9111)
stef-ladefense commented 1 month ago

hi,

i use this on esp32S3 and 170x320 screen on low cost yelow card

-DST7789_DRIVER=1 -DTFT_WIDTH=170 -DTFT_HEIGHT=320 -DTFT_MISO=-1 -DTFT_MOSI=13 -DTFT_SCLK=12 -DTFT_CS=10 -DTFT_DC=11 -DTFT_RST=1 -DTOUCH_CS=-1 -DTFT_BL=14 -DTFT_BACKLIGHT_ON=1 -DLOAD_GLCD=1 -DLOAD_FONT2=1 -DLOAD_FONT4=1 -DLOAD_FONT6=1 -DLOAD_FONT7=1 -DLOAD_FONT8=1 -DLOAD_GFXFF=1 -DSMOOTH_FONT=1 -DSPI_FREQUENCY=40000000 -DSUPPORT_TRANSACTIONS=0 -DUSE_HSPI_PORT=1 -DDISABLE_ALL_LIBRARY_WARNINGS=1