Skip to content

Commit ccfbf8c

Browse files
committed
improvements based on review
1 parent a9acb63 commit ccfbf8c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

adafruit_pcf8523.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,10 @@ class PCF8523:
104104
high_capacitance = i2c_bit.RWBit(0x00, 7)
105105
"""True for high oscillator capacitance (12.5pF), otherwise lower (7pF)"""
106106

107-
calibration_mode = i2c_bit.RWBit(0x0E, 7)
108-
"""False to offset every 2 hours (1 LSB = 4.340ppm); True to offset every
109-
minute (1 LSB = 4.069ppm). The default, False, consumes less power"""
107+
calibration_schedule_every_minute = i2c_bit.RWBit(0x0E, 7)
108+
"""False to apply the calibration offset every 2 hours (1 LSB = 4.340ppm);
109+
True to offset every minute (1 LSB = 4.069ppm). The default, False,
110+
consumes less power. See datasheet figures 28-31 for details."""
110111

111112
calibration = i2c_bits.RWBits(7, 0xE, 0, signed=True)
112113
"""Calibration offset to apply, from -64 to +63. See the PCF8523 datasheet

0 commit comments

Comments
 (0)