Skip to content

Commit cdde512

Browse files
committed
Run pre-commit
1 parent c952a4c commit cdde512

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_pca9685.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ def frequency(self, _):
7373
@property
7474
def duty_cycle(self) -> int:
7575
"""16 bit value that dictates how much of one cycle is high (1) versus low (0). 0xffff will
76-
always be high, 0 will always be low and 0x7fff will be half high and then half low."""
76+
always be high, 0 will always be low and 0x7fff will be half high and then half low.
77+
"""
7778
pwm = self._pca.pwm_regs[self._index]
7879
if pwm[0] == 0x1000:
7980
return 0xFFFF

0 commit comments

Comments
 (0)