From 9583e6d40f45988c4d08c4386d3345bae1c7ac92 Mon Sep 17 00:00:00 2001 From: Boyan Date: Wed, 20 Jul 2022 17:30:27 +0300 Subject: [PATCH] this might work --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 6c98678..fcec3c5 100644 --- a/main.py +++ b/main.py @@ -27,4 +27,4 @@ def button_press(gpio:int, level) -> bool: if __name__ == "__main__": - asyncio.run(button_press()) \ No newline at end of file + asyncio.run(button_press(10, pigpio.EITHER_EDGE)) \ No newline at end of file