File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ Of course, you must import the library to use it:
44
44
45
45
.. code :: python
46
46
47
- import nativeio
47
+ import busio
48
48
import adafruit_pcf8523
49
49
import time
50
50
51
51
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
53
53
create an I2C object depends on the board you are using. For boards with labeled
54
54
SCL and SDA pins, you can:
55
55
@@ -64,7 +64,7 @@ Now, to initialize the I2C bus:
64
64
65
65
.. code :: python
66
66
67
- myI2C = nativeio .I2C(SCL , SDA )
67
+ myI2C = busio .I2C(SCL , SDA )
68
68
69
69
Once you have created the I2C interface object, you can use it to instantiate
70
70
the RTC object:
You can’t perform that action at this time.
0 commit comments