Forum Rule: Always post complete source code & details to reproduce any issue!
-
Junior Member
Bounce, responsiveRead and velocity for touchRead()
I thought there should be something like the Bounce library for touchRead() inputs. So I adapted all those functions: risingEdge(), fallingEdge(), duration(), rebounce() etc. and added a few other features like the auto detection of the usable touchRead() range (as it varies depending on your setup and circumstances). There's also an option to make an input latchable.
I thought there should be a simple way to get quieter variable input too. So I included the "TouchVariable" class for that. And I remembered someone asking about the possibility of velocity sensitivity using touchRead() and I haven't been able to let go of that idea. So there's a "TouchVelocity" class for that.
See the video
https://youtu.be/q51Z1SEb8Cw
or the code.
https://github.com/joshnishikawa/Flicker
Last edited by joshnishikawa; 11-20-2019 at 12:50 AM.
Reason: added link to the github repo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules