ST7789 240X280 Display on esp32s3 not working

And replace these so you get a better pin out connection and layout for the code If I remember correctly you will need all of the connections hooked up for it to work properly also the display I was using the backlight Was on when the pin was low so it did not need to be connected it may differ on yours

#define TFT_RST       1
#define TFT_DC        4
#define TFT_CS        2

// and replace that with this

#define TFT_RST 1
#define TFT_DC 4
#define TFT_CS 2
#define TFT_MOSI 9  // Data out
#define TFT_SCLK 7  // Clock out