We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceeef55 commit 8dd7feaCopy full SHA for 8dd7fea
adafruit_ds1307.py
@@ -97,7 +97,8 @@ class DS1307:
97
def __init__(self, i2c_bus):
98
self.i2c_device = I2CDevice(i2c_bus, 0x68)
99
100
- # Try and verify this is the RTC we expect by checking the rate select fields described as "0 = Always reads back as 0."
+ # Try and verify this is the RTC we expect by checking constant fields.
101
+ # These fields are described as "0 = Always reads back as 0." in spec.
102
buf = bytearray(2)
103
buf[0] = 0x07
104
with self.i2c_device as i2c:
0 commit comments