From 04a7346abd7f56c6688f09ce5e8828c27db84cf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Fri, 12 Aug 2022 02:10:58 +0200 Subject: [PATCH] increased button cooldown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code.py b/code.py index 99c653d..1adccdb 100644 --- a/code.py +++ b/code.py @@ -20,7 +20,7 @@ previousValue = True while True: if buttonPin.value == False: print("0x0") - time.sleep(0.1) + time.sleep(0.2) else: if previousValue != clkPin.value: if clkPin.value == False: