Skip to content

Update cap touch pin script. #2475

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

Merged
merged 1 commit into from
Apr 12, 2023
Merged

Conversation

kattni
Copy link
Contributor

@kattni kattni commented Apr 12, 2023

Moving forward we will be including a 1 MΩ resistor regardless of whether the microcontroller has built-in pulldowns on the touch capable pins. Using the build-in pulldowns can lead to odd results.

Therefore, there is no reason to differentiate between which pins have a pulldown and which pins don't. I still need to catch the ValueError it throws, so the only change is in the resulting print.

@kattni kattni requested a review from TheKitty April 12, 2023 18:04
@kattni kattni merged commit 2fbba95 into adafruit:main Apr 12, 2023
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