From f307a66b74b65f513572435fb93f1d81e8f0eba5 Mon Sep 17 00:00:00 2001 From: johnnohj <166672127+johnnohj@users.noreply.github.com> Date: Thu, 6 Jun 2024 15:55:05 -0400 Subject: [PATCH] Update asyncio_event_example.py --- examples/asyncio_event_example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/asyncio_event_example.py b/examples/asyncio_event_example.py index 63cd590..d61ae03 100644 --- a/examples/asyncio_event_example.py +++ b/examples/asyncio_event_example.py @@ -16,8 +16,8 @@ # Import library modules, as is tradition pin = digitalio.DigitalInOut(board.BUTTON) -pin.direction = Direction.INPUT -pin.pull = Pull.UP +pin.direction = digitalio.Direction.INPUT +pin.pull = digitalio.Pull.UP button = Debouncer(pin) # Instantiate the input, in this case, the 'BOOT' button on a