Skip to content

A simple code to simulate Push Button to perform Single/Double/Triple Tap as well as Short/Long Press

Notifications You must be signed in to change notification settings

NegasonicX/Multiple-Taps-and-Long-Press-ESP32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Multiple Taps and Long Press on ESP32

A simple code to simulate Push Button to perform Single/Double/Triple Tap as well as Short/Long Press!

GPIO Function:

  • GPIO34 : input ( externally pulled up )

Connection:

  • Connect GPIO34 with Tactile Push Button and ground

Understanding the Flow:

  • Taps have a time frame of 1 second
  • Short Press has a time frame of 1 - 3 seconds
  • Long Press has a time frame > 3 seconds

About

A simple code to simulate Push Button to perform Single/Double/Triple Tap as well as Short/Long Press

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages