File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
6363create an I2C object depends on the board you are using. For boards with labeled
6464SCL 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
8080the RTC object:
You can’t perform that action at this time.
0 commit comments