Skip to content

Commit

Permalink
Merge pull request #987 from MiczFlor/bouncetime
Browse files Browse the repository at this point in the history
Reduce bounce time of buttons
  • Loading branch information
MiczFlor authored May 31, 2020
2 parents 2ebbb76 + 3216927 commit 0f78ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/sampleconfigs/gpio-buttons.py.sample
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ led_power = 12
# Set GPIO numbering to BCM instead of board numbering
GPIO.setmode(GPIO.BCM)
# Bounce tolerance time for buttons
bouncetime = 500
bouncetime = 200 # Milliseconds?
volumeHoldTime = 0.3 # Seconds
shutdownHoldTime = 2 # Seconds
PledBlinkTime = 0.3 # Seconds
Expand Down

0 comments on commit 0f78ec7

Please sign in to comment.