diff --git a/main.py b/main.py index ae986d4..63f314e 100644 --- a/main.py +++ b/main.py @@ -16,4 +16,4 @@ async def button_press(pin:int): return False if __name__ == "__main__": - print(button_press(19)) \ No newline at end of file + asyncio.get_event_loop().run_until_complete(print(button_press(19))) \ No newline at end of file