Help with ST7789 2.8" touch 240x320 TFT with ESP Wroom 32 #2177
Replies: 1 comment 3 replies
-
In your setup, you haven't set any pin numbers for the definitions. Yours looks like this: #define TFT_MISO MISO Try this: #define TFT_MISO 19 I would guess you have an ILI9341 display with an XP2046 touch driver, but that is just a guess. Try the above and report back.... You can get there! :-) |
Beta Was this translation helpful? Give feedback.
-
Hi, ESP32 n00b here, I have been trying to interface this lcd I got from aliexpress with an esp I got from a friend.
The esp I have is a no-brand Wroom 32, 38 pin, configured as NodeMCU-32 in Arduino IDE (I guessed based on pinout diagrams), works fine with various sensors.
The pin out is of the 38 pin type like below:
The LCD page is:
https://www.aliexpress.com/item/4001282467099.html
but no specs are given, after contacting supplier they said it was an ST7789 and provided a sample program but for a different MCU
2.4-2.8_ST7789spiORIfastRGB(QQWW).c.txt
I have tried to use the TFT_eSPI and also the Adafruit TFT libraries, configured for ST7789, with no success.
I have tried both the built-in SPI pins and custom-defined pins. All I am able to do is turn on the backlight.
My User_Setup.h file is here:
User_Setup.h.txt
I run read_user_setup and get the below:
DC, RST, and BL are my own defined pins, the rest are default hardware pins.
Would appreciate any help with this as I have tried many times without success.
Beta Was this translation helpful? Give feedback.
All reactions