Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: [queued] Bounce, responsiveRead and velocity for touchRead()

  1. #1

    [queued] 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-19-2019 at 11:50 PM. Reason: added link to the github repo

  2. #2
    Senior Member
    Join Date
    Apr 2019
    Posts
    108
    You've come to the rescue! Thanks, exactly what I was looking for.

  3. #3
    Great! I'm very glad to hear that. I'm still developing this so I'm interested in any feedback. If possible, please use the following thread instead of this one...
    https://forum.pjrc.com/threads/58532...or-touchRead()

    (This thread was an accidental duplicate. Oops!)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •