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

Added New Capacitive Touch Examples #57

Merged
merged 3 commits into from
Dec 30, 2023

Conversation

ryancasler
Copy link
Contributor

I was unable to get the library working with the included example for capacitive touch. I built these examples using the capacitive touch examples included with the ESP32 library. One works only with ESP32 S2 and S3 chips as the function touchInterruptGetLastStatus is only available on those chips and not the classic ESP32. The "classic" sketch works with all ESP32 chips but is quite a bit more complicated so I would only use when you have to. These worked very reliably to detect single, double, triple and long clicks in my testing (with an expanded sketch to include those functions).

Uses the touch interrupt and last status available to the ESP32S2 and ESP32S3.
Added classic cap touch and fixed typos in S2S3
@LennartHennigs LennartHennigs self-assigned this Dec 30, 2023
@LennartHennigs LennartHennigs merged commit 4954ab7 into LennartHennigs:master Dec 30, 2023
@LennartHennigs
Copy link
Owner

Hey Ryan, added the example.
Thanks!

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

Successfully merging this pull request may close these issues.

2 participants