Skip to content

Commit

Permalink
Switch to busio.
Browse files Browse the repository at this point in the history
  • Loading branch information
tannewt committed Apr 11, 2017
1 parent d86026b commit 3f06bae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ chip select pin. You can use any pin for the CS, but we use D5 here:

.. code:: python
from nativeio import SPI, DigitalInOut
from busio import SPI
from digitalio import DigitalInOut
import board
spi = SPI(clock=board.SCK, MISO=board.MISO, MOSI=board.MOSI)
Expand Down

0 comments on commit 3f06bae

Please sign in to comment.