Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
And in the User_Setup_Select.h file, I uncommented:
include <User_Setups/Setup24_ST7789.h>
I tried to load in the Colour_Test example in the test and diagnostics example folder, but nothing is appearing on the screen. I check all the connections and also replaced the screen but it is still not working.
Does the TFT_eSPI library support ESP32 with the ST7789V screen? Also, must I use the hardware SPI pins? Right now, the screen is connected to the non SPI pins.
Thanks!
======================UPDATE================================
Still didn't manage to get this library to work with ESP32 and ST7789V. I used another library
Arduino-ST7789-Library (https://github.com/ananevilya/Arduino-ST7789-Library) and it works with the ESP32. So at least I am sure the PCB and ST7789V display is working.
I am still trying to figure out why the TFT_eSPI lib is not working.
I have been trying to get the ESP32 to work with a ST7789V screen (2" 240 x 320) but its unsuccessful.
In the User_setup.h file, I am using the following settings:
define ST7789_DRIVER
define TFT_RGB_ORDER TFT_BGR
define TFT_WIDTH 240
define TFT_HEIGHT 320
define TFT_INVERSION_ON
define TFT_MOSI 23
define TFT_SCLK 18
define TFT_CS 15 // Chip select control pin
define TFT_DC 2 // Data Command control pin
define TFT_RST 4 // Reset pin (could connect to RST pin)
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 27000000
define SPI_READ_FREQUENCY 20000000
define SPI_TOUCH_FREQUENCY 2500000
define SUPPORT_TRANSACTIONS
And in the User_Setup_Select.h file, I uncommented:
include <User_Setups/Setup24_ST7789.h>
I tried to load in the Colour_Test example in the test and diagnostics example folder, but nothing is appearing on the screen. I check all the connections and also replaced the screen but it is still not working.
Does the TFT_eSPI library support ESP32 with the ST7789V screen? Also, must I use the hardware SPI pins? Right now, the screen is connected to the non SPI pins.
Thanks!
======================UPDATE================================ Still didn't manage to get this library to work with ESP32 and ST7789V. I used another library Arduino-ST7789-Library (https://github.com/ananevilya/Arduino-ST7789-Library) and it works with the ESP32. So at least I am sure the PCB and ST7789V display is working. I am still trying to figure out why the TFT_eSPI lib is not working.