Skip to content

Commit f307a66

Browse files
authored
Update asyncio_event_example.py
1 parent 28188a8 commit f307a66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/asyncio_event_example.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
# Import library modules, as is tradition
1717

1818
pin = digitalio.DigitalInOut(board.BUTTON)
19-
pin.direction = Direction.INPUT
20-
pin.pull = Pull.UP
19+
pin.direction = digitalio.Direction.INPUT
20+
pin.pull = digitalio.Pull.UP
2121
button = Debouncer(pin)
2222

2323
# Instantiate the input, in this case, the 'BOOT' button on a

0 commit comments

Comments
 (0)