How can i use this tft screen st7796S

i have already tried to do myself and i burned it so i would like to know how i am supposed to connect it, im using a ESP32 WROOM 32(38PIN)

can you give a link to the particular display?
looks like you can use a ESP32 SPI interface

MOSI: 23
MISO: 19
SCK: 18
SS: 5

have a look at Adafruit_ST7796S

sure thing here is the link ,

He encontrado esto en AliExpress: MX$147.37 | Módulo de puerto serie TFT SPI para Arduino, 2,4/2,8/3,5 pulgadas, 240x320, 320x480, 2,4 ", 5V/3,3 V, adaptador PCB, ST7789V/ST7796S
https://a.aliexpress.com/_mMM0VvZ

the display information states it is an SPI interface
image

I don't have this particular display but would assume
SDA connects to MOSI (pin 23)
SCL connects to SCK (pin 18)
CS connects to SS (pin 5)
DC to pin 9
RST to pin 8

MISO is not used

instal the ST7796S library and try graphicstest example with settings

#define TFT_CS 5
#define TFT_DC 9
#define TFT_RST 8 // RST can be set to -1 if you tie it to Arduino's reset

VCC goes to 3v or 5v ?,also can you provide me a code that have you tested before with tft screens i wanna see if my other screen its still alive bc i bought one but i burned it and im not sure why

the heading in the link in post 3 states 5V/3,3 V and the specification does not give further details - is there anything on the back of the PCB giving further information?
Initially try 3.3V and measure the logic voltage with a multimeter

what other TFT displays do you have?
I have TFT displays using ILI9341 and ST7789 controllers and tend to use Adafruit libraries, GFX Library for Arduino and TFT_eSPI

For what it is worth, I purchased one from Amazon,
https://www.amazon.com/dp/B0CKRJ81B5

To add support for Teensy boards. I verified it worked with the eTFT library.

I hooked it up to Teensy Micromod board I have that was setup with hookup for Ili9341 or ili9488 with same pinout. And it works. Like the one PJRC sells
https://www.pjrc.com/store/display_ili9341_touch.html
Product page shows wiring for teensy

I connected 5v (USB) to vin, and logic pins run at 3.3v. Backlight don’t remover if I hooked directly to 3.3v or 5v through resister.

Can you share with me the code that you used with your Tft screen ?

Code is in pull request back into the st7735… library that is in the teensy board releases.

My fork/branch

I ran some of the examples, and modified them to show this as an option.