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 cdda5cc commit 5fa3a28Copy full SHA for 5fa3a28
adafruit_motor/stepper.py
@@ -114,7 +114,10 @@ def __init__(
114
self._coil = (ain2, bin1, ain1, bin2)
115
for i in range(4):
116
if self._coil[i].frequency < 1500:
117
- if hasattr(self._coil[i], "variable_frequency") and not self._coil[i].variable_frequency:
+ if (
118
+ hasattr(self._coil[i], "variable_frequency")
119
+ and not self._coil[i].variable_frequency
120
+ ):
121
raise ValueError(
122
"PWMOut outputs must either be set to at least "
123
"1500 Hz or allow variable frequency."
0 commit comments