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 090842d commit 99d4212Copy full SHA for 99d4212
adafruit_pca9685.py
@@ -77,7 +77,7 @@ def duty_cycle(self) -> int:
77
pwm = self._pca.pwm_regs[self._index]
78
if pwm[0] == 0x1000:
79
return 0xFFFF
80
- elif pwm[1] == 0x1000:
+ if pwm[1] == 0x1000:
81
return 0x0000
82
return pwm[1] << 4
83
0 commit comments