From a01bb4d148c9733f463ade7e722ee3b4ca8c1864 Mon Sep 17 00:00:00 2001 From: Benjamin Tayehanpour Date: Sat, 26 Sep 2026 21:36:17 +0000 Subject: [PATCH] stuff --- button.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/button.py b/button.py index 2df7538..638a11e 100644 --- a/button.py +++ b/button.py @@ -6,7 +6,7 @@ class button: self.pi = pi self.gpio = gpio self.callback = callback - self.pi.set_glitch_filter(self.gpio, 2000) + self.pi.set_glitch_filter(self.gpio, 20000) async def start(self): await self.pi.set_mode(self.gpio, asyncpio.INPUT) await self.pi.set_pull_up_down(self.gpio, asyncpio.PUD_UP)