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
Touch display working on esp-idf? #156
Comments
You are some steps ahead of me. |
You can use my example project to get started: https://github.com/krupis/T-Display-S3-esp-idf Just call one function at a time to see how different widgets are displayed:
The code should compile and run without any issues on T-Display-S3 modules from LilyGo on the esp-idf v5.0.1. |
Thank you so much... |
@krupis After your help, I have managed to get mine responding to clicking the two physical buttons :) |
Glad to hear. I am still hoping that someone managed to get the touch to work on esp-idf :) The arduino IDE examples from LilyGo seem to work fine with the touch |
@krupis A couple of questions.. |
Or, is the stuff in menuconfig being ignored? |
@clive0106 As you have noticed, the esp-idf does not officially support CST816 touch driver (it is not in the menuconfig). You are supposed to download and import the driver via component registry (exactly like you did) and then you are on your own to get it going. |
Was your project created using SquareLine studio? |
Not this particular example but if you use SquareLine studio and generate UI source code, you will end up with almost identical lvgl functions that my example use. |
@clive0106 I have updated my repository for the example project: Good luck and let me know if that works as expected. I still need to add some basic documentation for the repository. |
This issue is stale because it has been open for 30 days with no activity. |
Hello, I thank you very much for this information, I have been able to test the functionality of my Lilygo S3 touch, I only have one question, the manufacturer has told me that the cst816 chip recognizes up to 2 touches but I have not been able to test that function with any of the examples in the repository . Have any of you managed to recognize 2 points with this display? |
Hello. I know that this project is intended to use for Arduino platform, but I am developing on esp-idf. Perhaps someone managed to get it to work on esp-idf?
I can get the display to work without any issues, but the touch is not working.
Please see the below git issue regarding the touch display:
espressif/esp-bsp#178
I used component from the esp-idf component registry:
https://components.espressif.com/components/espressif/esp_lcd_touch_cst816s
The error message returned:
Perhaps it is an issue with the RES pin? How should I control the RES pin and what is it used for ?
The text was updated successfully, but these errors were encountered: