Skip to content

Commit d78cb4b

Browse files
committed
Update for nativeio split.
1 parent 0c99c43 commit d78cb4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ Of course, you must import the library to use it:
5454

5555
.. code:: python
5656
57-
import nativeio
57+
import busio
5858
import adafruit_ds3231
5959
import time
6060
6161
All the Adafruit RTC libraries take an instantiated and active I2C object
62-
(from the `nativeio` library) as an argument to their constructor. The way to
62+
(from the `busio` library) as an argument to their constructor. The way to
6363
create an I2C object depends on the board you are using. For boards with labeled
6464
SCL and SDA pins, you can:
6565

@@ -74,7 +74,7 @@ Now, to initialize the I2C bus:
7474

7575
.. code:: python
7676
77-
myI2C = nativeio.I2C(SCL, SDA)
77+
myI2C = busio.I2C(SCL, SDA)
7878
7979
Once you have created the I2C interface object, you can use it to instantiate
8080
the RTC object:

0 commit comments

Comments
 (0)