Skip to content
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

Display don't show anything, #1

Open
devindasrinath opened this issue Nov 27, 2023 · 1 comment
Open

Display don't show anything, #1

devindasrinath opened this issue Nov 27, 2023 · 1 comment

Comments

@devindasrinath
Copy link

Hi,

I followed the given guidelines, built, and uploaded the provided example for the Lilygo T-Watch. I used the provided SDK file and also tried changing the IDF version from 4.4.3 to 4.4.6. However, when I upload the code, the vibration motor starts to vibrate, but the display doesn't show anything. I've encountered the same behavior with the LVGL official ESP IDF library as well.

I would highly appreciate any suggestions or guidance to address this issue.

Thank you,
Devinda

@mdaskalov
Copy link
Owner

You need to configure the correct GPIOs used by your display. I’ve provided an example sdkconfig file for ttgo-t-display which can be used as a starting point.
However all CONFIG_LV_DISP_* and CONFIG_LV_TFT_* values should be configured for your display - MISO, CLK, CS, DC, RST, BCLK. If you prefer, the GUI could be used with:

idf.py menuconfig

However I would warmly recommend using Visual Studio Code + PlatformIO for development as the ESP-IDF framework is very complicated and slow. You have to compile about 900+ files each time the project is modified...

For simple drawing I would use the TFT_eSPI library which works with almost any display and is much easier to use. You can check the esp32-tetra project as example. Again the GPIOs should be configured in the platformio.ini file for your display.

And if you really need LVGL I would suggest using Tasmota and Berry - have a look at the AnalogClock project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants