-
Notifications
You must be signed in to change notification settings - Fork 202
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
The button is pressed without touching the display #539
Comments
@eagl1 First thing I noticed in your code is what I assume is to cause a LED flashing your pin is in an unknown state.
Also, you should first add code with a serial print and look at the serial monitor debug output to make sure its not a hardware issue.
If this doesn't work then to help further a few hints will be required: Device hardware
|
http://www.lcdwiki.com/4.0inch_SPI_Module_ST7796
Here are my files: |
@eagl1 You failed to include an important config file TFT_ESPI User_Setup.h |
Thank you so much for the support, but how to contact @ImpulseAdventure Calvin ? |
``I think I found something that might be the cause of the problem with STM32 boards specifically. I found this in
So this:
My question now is where to find Is it this one |
@eagl1 you can send email to guislice@gmail.com I don't think you want PaulStoffregen/XPT2046_Touchscreen |
@eagl1 Before you try that new touch library, if you have TFT_eSPI working without it then I would keep TOUCH_CS uncommented and instead inside your GUIslice/configs/stm32-tftespi-default-xpt2046.h change to use the TFT_eSPI internal touch driver like so
Paul-- |
Worked perfectly :) Thank you so much man ! |
Hi,
I'm working on a simple project to test the touch functionality, it turns out the button is pressed without touching the display.
Here's the code:
The text was updated successfully, but these errors were encountered: