====== ESP32 + Display TFT 1.4 240x240 ====== **Repositorio: ** -> https://github.com/unloquer/ESP32TFT1.4 * https://arduino-er.blogspot.com/2020/07/esp32-13-inch-240x240-ips-lcd-st7789.html * https://www.youtube.com/watch?v=PUV9_OdMcCA * 7 pins are used to connect to MCU: # Pin Label Description ;############################################################### ; TFT_eSPI library setting here (no need to edit library files): ;############################################################### -D USER_SETUP_LOADED=1 ; Set this settings as valid -D ST7789_DRIVER=1 ; Select ST7789 driver -D TFT_WIDTH=240 ; Set TFT size -D TFT_HEIGHT=240 -D TFT_MISO=-1 ; Define SPI pins -D TFT_MOSI=19 ; SDA marcado en la pantalla -D TFT_SCLK=18 ; SCL marcado en la pantalla -D TFT_CS=5 -D TFT_DC=16 ; Data/Comand pin -D TFT_RST=23 ; Reset pin del ESP32 -D LOAD_GLCD=1 ; Load Fonts -D SPI_FREQUENCY=40000000 ; Set SPI frequency * Librería - https://github.com/Bodmer/TFT_eSPI/wiki/Installing-on-PlatformIO * Conversores de imágenes -> https://duckduckgo.com/?q=UTFT+ImageConverter+565