Skip to content

Commit 0494e05

Browse files
committed
Switch to busio.
1 parent a705ed3 commit 0494e05

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,14 @@ Of course, you must import the library to use it:
3030
import adafruit_bno055
3131
3232
33-
This driver takes an instantiated and active I2C object (from the `nativeio` or
33+
This driver takes an instantiated and active I2C object (from the `busio` or
3434
the `bitbangio` library) as an argument to its constructor. The way to create
3535
an I2C object depends on the board you are using. For boards with labeled SCL
3636
and SDA pins, you can:
3737

3838
.. code:: python
3939
40-
from nativeio import I2C
41-
#from bitbangio import I2C
40+
from busio import I2C
4241
from board import SDA, SCL
4342
4443
i2c = I2C(SCL, SDA)

0 commit comments

Comments
 (0)