Skip to content

Commit 539ad11

Browse files
committed
run black
1 parent 656d8ba commit 539ad11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_pcf8523.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ class PCF8523:
104104
cap_sel = 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)
107+
calibration_mode = i2c_bit.RWBit(0x0E, 7)
108108
"""False to offset every 2 hours (1 LSB = 4.340ppm); True to offset every minute (1 LSB = 4.069ppm). The factory default, False, consumes less power"""
109109

110-
calibration = i2c_bits.RWBits(7, 0xe, 0, signed=True)
110+
calibration = i2c_bits.RWBits(7, 0xE, 0, signed=True)
111111
"""Calibration offset to apply, from -64 to +63. See the PCF8523 datasheet figure 18 for the offset calibration calculation workflow."""
112112

113113
def __init__(self, i2c_bus):

0 commit comments

Comments
 (0)