From cae4acf26d3aaf2e56d7e3bb2e6d62a72b6f43bc Mon Sep 17 00:00:00 2001 From: Benjamin Tayehanpour Date: Sat, 26 Sep 2026 21:35:54 +0000 Subject: [PATCH] stuff --- button.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/button.py b/button.py index 1a45cde..2df7538 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, 1000) + self.pi.set_glitch_filter(self.gpio, 2000) 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)