this might work

This commit is contained in:
Boyan 2022-07-20 17:30:27 +03:00
parent 524d42e597
commit 9583e6d40f

@ -27,4 +27,4 @@ def button_press(gpio:int, level) -> bool:
if __name__ == "__main__":
asyncio.run(button_press())
asyncio.run(button_press(10, pigpio.EITHER_EDGE))