-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TTGO T8 ESP32-S2] Screen remains blank #2022
Comments
Have you created a setup file for the display interface configuration? You can run the Read_User_Setup sketch and see the used setttings. |
I don't know about "setup file for the display interface configuration". I'm clueless and simply opened and tried examples. Here is the output from C:\Users\blah\Documents\Arduino\libraries\TFT_eSPI\examples\Test and diagnostics\Read_User_Setup\Read_User_Setup.ino. The screen is still dark, but I guess it's to be expected and the script only returns infos about the HW: [code] MOSI = GPIO 23 Font GLCD loaded Display SPI frequency = 27.00 -- https://forum.arduino.cc/t/connecting-esp32-s2-wrover-i-with-tft-spi-lcd/921773/20 |
As a total newbie, I edited User_Setup.h thusly, but the display remains dark:
I compiled a random test script (TFT_Ellipse.ino). Leaving... Hard resetting via RTS pin...: NOTHING Provided the settings above are correct, does it mean that display isn't supported? |
Per https://iotips.tech/using-tft_espi-library-on-esp32/, I forgot to comment the NodeMCU lines in User_Setup.h's Section 2… but TFT_Ellipse.ino = No change. Next, per https://github.com/Xinyuan-LilyGO/LilyGo-T-Display-S2/blob/master/main/app_main.c, I modifed the settings… screen still dark :-/ //NOTHING //NOTHING //NOTHING |
Also tried this, still dark: //Per Xinyuan-LilyGO/ESP32_S2#1 (comment) |
I had a look at the documentation for the board. Firstly the display is advertised as a ST77789 type, maybe that is a typo as the ST7789 is more common. The library only supports the ST7789 type. Secondly the interface has no DC pin so it is not compatible with the interface type supported by the library. Therefore I conclude that it will not work with this library. Update: Display should work, see below. |
Too bad :-/ I'll get another board, after checking that it's supported by TFT_eSPI. Thanks much. |
I had a further look at the Lilygo documentation and it contains errors. The pin MISO is stated as being GPIO 37, but in fact GPIO 37 is the DC signal. Also there appears to be no display type ST77789, so that is a typo also. So in summary the display should work fine with @lyusupov 's setup file. |
Hello,
I'm a newbie at micro-controllers, si it could be something obvious to experienced developpers.
While the board successfully sends text through the serial port¤, the screen remains hopelessly dark when trying different scripts under c:\Users\blah\Documents\Arduino\libraries\TFT_eSPI\examples.
Does TFT_eSPI support that chip? Any idea what I could try?
Thank you.
¤
The text was updated successfully, but these errors were encountered: