From 3216927b39e0f70f14009d4debd837798bf09642 Mon Sep 17 00:00:00 2001 From: s-martin Date: Sun, 31 May 2020 16:43:49 +0200 Subject: [PATCH] Reduce bounce time of buttons --- misc/sampleconfigs/gpio-buttons.py.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/sampleconfigs/gpio-buttons.py.sample b/misc/sampleconfigs/gpio-buttons.py.sample index a37d23b14..9d8deaa04 100644 --- a/misc/sampleconfigs/gpio-buttons.py.sample +++ b/misc/sampleconfigs/gpio-buttons.py.sample @@ -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