Hello, everyone. I am working with a 240x320 TFT display and have a problem where part of the screen doesn't work. Here is the code I am running and a picture of the screen. I am using esp32-s3
You are facing probably the same issue I was. If you are using the TFT_eSPI library, go into the User_Setup.h file and comment out ILI9341_DRIVER and uncomment ILI9341_2_DRIVER.
It should look like this. Make sure you save the file afterwards.
how do you power the display?
all the documentation I have seen on this type of display states that
if J1 is shorted supply 3.3V on VCC
if J1 is open supply 5V on VCC
e.g. By solder shorting the two J1 pads together, the 5volt regulator is bypassed and the module can be powered directly from 3.3V.
if you are powering from 5V the display logic level is still 3.3V - do not connect directly to UNO/MEGA/etc GPIO pins which use 5V logic - use level converters