this might work
This commit is contained in:
parent
524d42e597
commit
9583e6d40f
2
main.py
2
main.py
@ -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))
|
Loading…
x
Reference in New Issue
Block a user