https://github.com/Bodmer/TFT_eSPI#tips
edit User_Setup.h or rename
Section 1. Call up the right driver file and any options for it
// Only define one driver, the other ones must be commented out
//#define ILI9341_DRIVER // Generic driver for common displays
#define ST7789_2_DRIVER // Minimal configuration option, define additional parameters below for this display
// #define M5STACK
// For ST7789, ST7735, ILI9163 and GC9A01 ONLY, define the pixel width and height in portrait orientation
// #define TFT_WIDTH 80
#define TFT_WIDTH 135 //128->135
// #define TFT_WIDTH 172 // ST7789 172 x 320
// #define TFT_WIDTH 240 // ST7789 240 x 240 and 240 x 320
// #define TFT_HEIGHT 160
// #define TFT_HEIGHT 128
#define TFT_HEIGHT 240 // ST7789 240 x 240
// #define TFT_HEIGHT 320 // ST7789 240 x 320
// #define TFT_HEIGHT 240 // GC9A01 240 x 240
Section 2. Define the pins that are used to interface with the display here
// For NodeMCU - use pin numbers in the form PIN_Dx where Dx is the NodeMCU pin designation
//#define TFT_CS PIN_D8 // add //
//#define TFT_DC PIN_D3 // add //
//#define TFT_RST PIN_D4 //add //
// For ESP32 Dev board (only tested with GC9A01 display)
// The hardware SPI can be mapped to any pins
#define TFT_MOSI 15 // In some display driver board, it might be written as "SDA" and so on.
#define TFT_SCLK 13
#define TFT_CS 5 // Chip select control pin
#define TFT_DC 23 // Data Command control pin
#define TFT_RST 18 // Reset pin (could connect to Arduino RESET pin)
//#define TFT_BL 22 // LED back-light
Section 4. Other options
// #define SPI_FREQUENCY 27000000
#define SPI_FREQUENCY 40000000 //from Setup135_ST7789.h