-
Notifications
You must be signed in to change notification settings - Fork 7.7k
feat(touch): Support all touch versions in NG driver #11643
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
base: master
Are you sure you want to change the base?
Conversation
👋 Hello P-R-O-C-H-Y, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results144 files 144 suites 40m 45s ⏱️ For more details on these failures, see this check. Results for commit 04459fa. ♻️ This comment has been updated with latest results. |
Description of Change
This PR introduces a unified touch sensor driver that supports all ESP32 variants (ESP32, ESP32-S2, ESP32-S3, ESP32-P4) with improved reliability and maintainability. The legacy touch implementation has been replaced with the modern NG driver, and all related examples and tests have been updated accordingly.
BREAKING CHANGE:
For ESP32
touchInterruptSetThresholdDirection(bool mustbeLower)
can now be used only before setting up the touch pin.Tests scenarios
Tested using ESP32, ESP32-S2 and ESP32-S3 all 3 examples.
Was failing on S2/S3 in the touch test locally now on interrupt or on single pin reading.
Related links
Closes #11637