Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    T4 S3 AMOLED - Touch Sensitivity/Debounce example?

    Technical Discussion
    2
    2
    224
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rusty6285 last edited by

      Hey folks,

      New to forum, I have a few LilyGo devices I'm trying to program touch input for, specifically an "auto-sleep" based on detected inputs. The challenge I have is the T4 S3 is detecting excessive false touches, and I can't seem to get any debounce solutions to stick.

      Any best practice for these devices? examples would be amazing

      teastain2 1 Reply Last reply Reply Quote 0
      • teastain2
        teastain2 @rusty6285 last edited by

        @rusty6285 Just to be clear, does your device resister a 'touch' without you touching it?
        Are you programming in Arduino IDE v2.x.x. ?
        Usually only interrupts and counters need de-bouncing.
        There are lots of Arduino IDE tutorials and even whole libraries dedicated to this subject.
        I only use de-bounce with interrupts with a custom routine that I developed just for that situation.
        Let me know what is you use-case and I will try to help.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors