File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ Introduction to Adafruit's PCF8563 Real Time Clock (RTC) Library
17
17
This is a great battery-backed real time clock (RTC) that allows your
18
18
microcontroller project to keep track of time even if it is reprogrammed,
19
19
or if the power is lost. Perfect for datalogging, clock-building, time
20
- stamping, timers and alarms, etc. Equipped with PCF8563 RTC - it can
21
- run from 3.3V or 5V power & logic!
20
+ stamping, timers and alarms, etc.
22
21
23
22
The PCF8563 is simple and inexpensive but not a high precision device.
24
23
It may lose or gain multiple seconds a day. For a high-precision,
@@ -84,14 +83,11 @@ SCL and SDA pins, you can:
84
83
85
84
from board import *
86
85
87
- You can also use pins defined by the onboard `microcontroller ` through the
88
- `microcontroller.pin ` module.
89
-
90
86
Now, to initialize the I2C bus:
91
87
92
88
.. code :: python
93
89
94
- i2c_bus = busio .I2C(SCL , SDA )
90
+ i2c_bus = board .I2C()
95
91
96
92
Once you have created the I2C interface object, you can use it to instantiate
97
93
the RTC object:
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Table of Contents
23
23
.. toctree ::
24
24
:caption: Related Products
25
25
26
- Seeeduino ` XIAO Expansion Board - Works With Adafruit QT Py <https://www.adafruit.com/product/5033>`_
26
+ Seeeduino XIAO Expansion Board - Works With Adafruit QT Py <https://www.adafruit.com/product/5033 >
27
27
28
28
.. toctree ::
29
29
:caption: Other Links
You can’t perform that action at this time.
0 commit comments