-
Notifications
You must be signed in to change notification settings - Fork 33
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 not working on esp32-8048S043C #27
Comments
I deleted everything and tried again today by cloning recursively and switching to development branch as follows: 1016 rm -fr esp32-smartdisplay-demo/ I noticed the following errors during the build, but I don't know if they are related to touch not working on my 4.3-inch capacitive display board using: default_envs = esp32-8048S043C in platformio.ini. src/ui/ui.c: In function 'ui_event_Rotate': /home/me/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-uart.c: In function 'uartSetPins': Thanks! |
Hi Yaconsult, Those are warnings, not errors. These are generated because of the (too) strict warning checks... -Wall |
OK, I see what you mean about them only being warnings, but touch is still not working on this particular CYD 8048S043C. There are no responses to touches anywhere on the screen when running the demo. It is not interactive at all. The refresh rate is being updated, so the display code is fine, but no input. 8-( Input DOES work with the LVGL demo that the board ships with, so the hardware is good. Thank you! |
Are you using the latest version? With the submodules also at the latest version? PXL-20240331-190626739.mp4](url) |
I've the same issue, the touch is reporting values only up to 480 270. |
The touch module is programmed in the factory for the resolution so, should be 800x480. There is code around to modify this but reluctant to put this in based on the definition chosen. Solution would be to set the resolution correctly... |
I checked it, the resolution isn't programmed at all. |
There is a repository that has code to reflash the configuration: https://github.com/TAMCTec/gt911-arduino/blob/main/TAMC_GT911.cpp Maybe that can help? |
First of all, thank you for making these wonderful repos available for people who want to learn how to use these cheap boards with PlatformIO!
I am new to all this stuff, so I started with this demo repo. I have an esp32-8048S043C, so I uncommented that line in platformio.ini and the program builds, uploads and runs, but touch does not work.
I found a closed issue with discussion about a similar problem someone had, and the recommendation was to switch to the development branch, so I tried switching to that and in the lower-left corner of PlatformIO, it does say "develop*" for the branch. I did a clean, build, and upload, but I get the same result. The program runs and the screen is being updated, but neither "Add 1", nor "Rotate" buttons do anything.
I know that the touch hardware is good because I made an image of the demo program it ships with and when I flash that image, the touch display works in the LVGL demo it runs. I can scroll and swipe between screens as expected.
As a newbie, I could very well be doing something wrong or missing some critical point. Please let me know if I missed something or if you need any additional information.
Thank you!
The text was updated successfully, but these errors were encountered: