TFT_eSPI Settings for User_Setup - ESP32-S3 3.5" Terminal
I have a new ESP32S3 3.5" Terminal board and cannot get anything to display on the screen. The screen goes white, and the sketch is working because I am getting serial.println() messages in the serial monitor, but nothing on the screen. I am not using, nor do I want to use Squareline Studio to keep things simple.
Wrote a simple sketch using the TFT_eSPI library to work with the 3.5" (non-terminal) board and that works just fine, however I cannot get the 3.5" Terminal board to display anything.
I suspect that the TFT_eSPI user_setup settings I"m using for the 3.5" terminal board are not correct. Below is what I am using. Can someone confirm these settings? Thanks!!
#define ILI9488_DRIVER
#define TFT_PARALLEL_16_BIT
#define TFT_WIDTH 480
#define TFT_HEIGHT 320
#define TFT_MISO 41
#define TFT_MOSI 2
#define TFT_SCLK 42
#define TFT_CS -1 // Chip select control pin
#define TFT_DC 2 // Data Command control pin
#define TFT_RST -1 // Reset pin (could connect to Arduino RESET pin)
#define TFT_BL 46 // LED back-light
#define TOUCH_CS 33 // Chip select pin (T_CS) of touch screen
#define TFT_BUZZER 20
#define TFT_WR 18 // Write strobe control pin - must use a pin in the range 0-31
#define TFT_RD 48 // Read strobe control pin
#define TFT_D0 47
#define TFT_D1 21
#define TFT_D2 14
#define TFT_D3 13
#define TFT_D4 12
#define TFT_D5 11
#define TFT_D6 10
#define TFT_D7 9
#define TFT_D8 3
#define TFT_D9 8
#define TFT_D10 16
#define TFT_D11 15
#define TFT_D12 7
#define TFT_D13 6
#define TFT_D14 5
#define TFT_D15 4
Comments
Hello kglew, Have you ever tried to compile a routine provided by a Wiki https://www.elecrow.com/wiki/index.php?title=ESP_Terminal_with_3.5inch_SPI_Capacitive_Touch_Display ? Can it compile normally? Is your environment configured the same as on the Wiki?
Thank you for the tutorial information. Looks like I have to use the LovyanGFX library instead of the TFT_eSPI library.
I tried one of the tutorial sketches and the display is working now.
Thanks