Skip to content

Commit 1241703

Browse files
committed
Add missing time import in example
When copy/pasted, the example otherwise doesn't run due to the usage of `time.sleep` in the code.
1 parent 4b496c2 commit 1241703

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Usage Example
6262

6363
.. code-block:: python
6464
65+
import time
6566
import busio
6667
import digitalio
6768
from board import SCK, MOSI, MISO, D2, D3

0 commit comments

Comments
 (0)