Replies: 2 comments 14 replies
-
The host number you should be using is host 1. Host 0 is reserved for internal memory. |
Beta Was this translation helpful? Give feedback.
14 replies
-
Pls is this issue solved now? I tried to use xpt2046 and I did the calibration procedure, and found that the click did not respond, I checked the source code and found that it seems that the click event was not registered for him, how do I modify the program to go to the calibration screen |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all together! I admire your work on the topic of lvgl and micropython. I use a 4.3" ESp32S3 module (esp32-4827S043R) with a parallel inferface and have successfully compiled a firmware with rgb_display and generated a display_driver.py from your suggestion.
However, the module does not have the touchscreen connected via i2c and gt911, but via SPI and XPT2046. Although the touch interface works perfectly in a test program with this driver (sample from bdbarnet), I can't get it to work with indev = XPT2046() and the same SPI parameters.
Unfortunately, I fundamentally don't understand how the display driver and the indev driver are used or should be noticed from the lvgl framework. In the examples we only created one instance of display_drv and indev. Is that enough?
I compile the firmware with:
python3 make.py esp32 mpy_cross submodules clean BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=rgb_display INDEV=xpt2046
in the display_driver I have replaced
I have tried with different host values
A test program with buttons shows the buttons but does not respond to touch input.
Can you give me a hint about this? I thank you very much for your feedback
Regards Hans
Beta Was this translation helpful? Give feedback.
All reactions