Skip to content

Commit

Permalink
Reduce bounce time of buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
s-martin authored May 31, 2020
1 parent 03e63de commit 3216927
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 3216927

Please sign in to comment.