Skip to content

Commit 53f0666

Browse files
committed
Update for nativeio split.
1 parent a5109a9 commit 53f0666

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ Of course, you must import the library to use it:
4242

4343
.. code:: python
4444
45-
import nativeio
45+
import busio
4646
import adafruit_ds1307
4747
import time
4848
4949
All the Adafruit RTC libraries take an instantiated and active I2C object
50-
(from the `nativeio` library) as an argument to their constructor. The way to
50+
(from the `busio` library) as an argument to their constructor. The way to
5151
create an I2C object depends on the board you are using. For boards with labeled
5252
SCL and SDA pins, you can:
5353

@@ -62,7 +62,7 @@ Now, to initialize the I2C bus:
6262

6363
.. code:: python
6464
65-
myI2C = nativeio.I2C(SCL, SDA)
65+
myI2C = busio.I2C(SCL, SDA)
6666
6767
Once you have created the I2C interface object, you can use it to instantiate
6868
the RTC object:

0 commit comments

Comments
 (0)