Skip to content

Commit

Permalink
Update asyncio_event_example.py
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnohj authored Jun 6, 2024
1 parent 28188a8 commit f307a66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/asyncio_event_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f307a66

Please sign in to comment.