8000 Update import statement in code snippet. · losingrose/circuitpython@48443c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 48443c9

Browse files
author
Alexander Hagerman
committed
Update import statement in code snippet.
The code snippets in the Design Guide article reference without the statement.
1 parent 3863a6a commit 48443c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/design_guide.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ For example, a user can then use ``deinit()```::
6060

6161
import digitalio
6262
import board
63+
import time
6364

6465
led = digitalio.DigitalInOut(board.D13)
6566
led.direction = digitalio.Direction.OUTPUT
@@ -79,6 +80,7 @@ Alternatively, using a ``with`` statement ensures that the hardware is deinitial
7980

8081
import digitalio
8182
import board
83+
import time
8284

8385
with digitalio.DigitalInOut(board.D13) as led:
8486
led.direction = digitalio.Direction.OUTPUT

0 commit comments

Comments
 (0)
0