Xinyuan-LilyGO / ESP32_S2

MIT License
15 stars 1 forks source link

[QUESTION] SPI PINS FOR TFT display #1

Open fermintm opened 3 years ago

fermintm commented 3 years ago

Hello. I am having trouble connecting an SPI display to this board. With other ESP32 or ESP8266 I do it without problem. What are the exact pins? In the documentation I cannot clarify myself with the RESET, CS and DC pins.

Thanks

LilyGO commented 2 years ago

Please send the detailed model number here, I will help you find the corresponding pin

educ8s commented 2 years ago

I use this and it works.

mosi_pin = board.IO35 clk_pin = board.IO36 reset_pin = board.IO38 cs_pin = board.IO34 dc_pin = board.IO37

Shohreh commented 1 year ago

I tried the above in Bodmer's User_Setup.h, to no avail.

Are there other files that need to be edited for TFT_eSPI to work on this board?

lyusupov commented 1 year ago

https://github.com/Bodmer/TFT_eSPI/issues/2022#issuecomment-1264568239