We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c952a4c commit cdde512Copy full SHA for cdde512
adafruit_pca9685.py
@@ -73,7 +73,8 @@ def frequency(self, _):
73
@property
74
def duty_cycle(self) -> int:
75
"""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."""
+ always be high, 0 will always be low and 0x7fff will be half high and then half low.
77
+ """
78
pwm = self._pca.pwm_regs[self._index]
79
if pwm[0] == 0x1000:
80
return 0xFFFF
0 commit comments