Skip to content

Learn guide suggest to use lambda function to deal with touchio #23

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

Closed
dglaude opened this issue Sep 12, 2020 · 2 comments
Closed

Learn guide suggest to use lambda function to deal with touchio #23

dglaude opened this issue Sep 12, 2020 · 2 comments
Assignees

Comments

@dglaude
Copy link
Contributor

dglaude commented Sep 12, 2020

I wanted to use Debouncer with touchio input.

So I went to the learn guide: https://learn.adafruit.com/debouncer-library-python-circuitpython-buttons-sensors/advanced-debouncing

But maybe that part is outdated (I still like to learn about lambda function) because #8 made it more simple to use Debouncer with touchio.

Nothing to fix in the code of this library (except maybe a simpletest_touchio.py that demonstrate that usecase) but the guide could get some update.

@FoamyGuy
Copy link
Contributor

FoamyGuy commented Dec 8, 2020

Thanks for the suggestion @dglaude! I will work on updating the learn guide to also show the new simpler way to use the debouncer lib with touchio.

@FoamyGuy
Copy link
Contributor

I've updated the Basic Debouncing page to note about the library working with TouchIn. As well as a link to the examples directory in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants