Skip to content

Commit fa655e6

Browse files
committed
Update after nativeio split.
1 parent 7414680 commit fa655e6

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
@@ -44,12 +44,12 @@ Of course, you must import the library to use it:
4444

4545
.. code:: python
4646
47-
import nativeio
47+
import busio
4848
import adafruit_pcf8523
4949
import time
5050
5151
All the Adafruit RTC libraries take an instantiated and active I2C object
52-
(from the `nativeio` library) as an argument to their constructor. The way to
52+
(from the `busio` library) as an argument to their constructor. The way to
5353
create an I2C object depends on the board you are using. For boards with labeled
5454
SCL and SDA pins, you can:
5555

@@ -64,7 +64,7 @@ Now, to initialize the I2C bus:
6464

6565
.. code:: python
6666
67-
myI2C = nativeio.I2C(SCL, SDA)
67+
myI2C = busio.I2C(SCL, SDA)
6868
6969
Once you have created the I2C interface object, you can use it to instantiate
7070
the RTC object:

0 commit comments

Comments
 (0)