We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28188a8 commit f307a66Copy full SHA for f307a66
1 file changed
examples/asyncio_event_example.py
@@ -16,8 +16,8 @@
16
# Import library modules, as is tradition
17
18
pin = digitalio.DigitalInOut(board.BUTTON)
19
-pin.direction = Direction.INPUT
20
-pin.pull = Pull.UP
+pin.direction = digitalio.Direction.INPUT
+pin.pull = digitalio.Pull.UP
21
button = Debouncer(pin)
22
23
# Instantiate the input, in this case, the 'BOOT' button on a
0 commit comments