A simple code to simulate Push Button to perform Single/Double/Triple Tap as well as Short/Long Press!
- GPIO34 : input ( externally pulled up )
- Connect GPIO34 with Tactile Push Button and ground
- 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