ESP32 Wroom-32D With IC:ST7789 TFT

Edit: :partying_face: removed the SD card and the screen works

changed the pins:
GND -> GND
VCC -> 3V3
SCL ->18 (SCK) (VSPI_CLK)
SDA ->23 (MOSI) (VSPI_MOSI)
RST ->16 (U2_RXD)
DC -> 17 (U2_TXD)
CS -> 5 (VSPI_CS)
CS-TF ->
OUT ->

and adjust this in the code:


#include <Adafruit_GFX.h>    // Core graphics library
//#include <Adafruit_ST7735.h> // Hardware-specific library for ST7735
#include <Adafruit_ST7789.h> // Hardware-specific library for ST7789
#include <SPI.h>

#define TFT_CS 5
#define TFT_RST 16  
#define TFT_DC 17

Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);



// OPTION 2 lets you interface the display using ANY TWO or THREE PINS,
// tradeoff being that performance is not as fast as hardware SPI above.

Also changed this because of the BAUD rate:



float p = 3.1415926;

void setup(void) {
  Serial.begin(115200);
  Serial.print(F("Hello! ST77xx TFT Test"));

Serial monitor shows:

08:52:55.896 -> ������f�����fxf���done

08:58:11.194 -> done

09:00:19.368 -> done

But screen still black