Closed DragarX closed 1 month ago
Looks like I didn't include the header properly, but now that the display is initializing, its just a bunch of random vertical lines with the previous image from lovyan slightly still visible.
This is my output from Read_User_Setup
TFT_eSPI ver = 2.5.43
Processor = ESP32
Frequency = 240MHz
Transactions = Yes
Interface = SPI
Display driver = 9A01
Display width = 240
Display height = 240
MOSI = GPIO 35
SCK = GPIO 36
TFT_CS = GPIO 34
TFT_DC = GPIO 7
TFT_RST = GPIO 9
Font GLCD loaded
Font 2 loaded
Font 4 loaded
Font 6 loaded
Font 7 loaded
Font 8 loaded
Smooth font enabled
Display SPI frequency = 40.00
Ok got it working. This was the setup I ended up using in replacement of User_Setup.h
#define USER_SETUP_INFO "User_Setup"
#define ESP32_S2
#define GC9A01_DRIVER
#define TFT_SDA_READ
#define TFT_WIDTH 240
#define TFT_HEIGHT 240
#define TFT_INVERSION_ON
#define TFT_MISO 37
#define TFT_MOSI 35
#define TFT_SCLK 36
#define TFT_CS 34
#define TFT_DC 7
#define TFT_RST 9
#define LOAD_GLCD
#define LOAD_FONT2
#define LOAD_FONT4
#define LOAD_FONT6
#define LOAD_FONT7
#define LOAD_FONT8
#define LOAD_GFXFF
#define SMOOTH_FONT
#define SPI_FREQUENCY 40000000
#define SPI_READ_FREQUENCY 20000000
#define SPI_TOUCH_FREQUENCY 2500000
#define USE_HSPI_PORT
So I'm having issues getting anything to show up on this display. When using HSPI via lovyan the screen works fine, but using the same settings on TFT_eSPI the screen shows nothing.
This my my header.
and my test source.
Any help would be awesome.