Skip to content

Commit 3f06bae

Browse files
committed
Switch to busio.
1 parent d86026b commit 3f06bae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ chip select pin. You can use any pin for the CS, but we use D5 here:
3535

3636
.. code:: python
3737
38-
from nativeio import SPI, DigitalInOut
38+
from busio import SPI
39+
from digitalio import DigitalInOut
3940
import board
4041
4142
spi = SPI(clock=board.SCK, MISO=board.MISO, MOSI=board.MOSI)

0 commit comments

Comments
 (0)