Hi, i have ESP32 C3 Classic with LuatOS on the back side, mostly all features and pins for project is working fine.
However when i tried using TFT SPI display 1.8 inch with ST7735 and TFT_eSPI library, it start crashed. So i came to github issue and read the fix, which is replace 4 files of TFT_eSPI and TFT_eSPI_ESP32_C3 then "#define USE_HSPI_PORT"
It boot fine and print out all serial messages, but the display still blank white.
I tried change pins several times, copying from ESP32 and ESP32 C3 Mini but still blank white.
My current pins which does not work:
#define TFT_SCLK 4
#define TFT_MOSI 8
#define TFT_CS 5
#define TFT_DC 3
#define TFT_RST -1
And user configs:
#define ST7735_DRIVER
#define TFT_RGB_ORDER TFT_RGB
#define TFT_WIDTH 128
#define TFT_HEIGHT 160
#define SPI_FREQUENCY 27000000
The screen is tested and working properly on ESP32 and ESP8266 (NodeMCU/Wemos D1 Mini) with TFT_eSPI library, but only not working on this ESP32 C3 LuatOS version.
Here is my Arduino Tools flash config:


