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 dde3a8a commit 413c3c3Copy full SHA for 413c3c3
adafruit_motor/motor.py
@@ -23,10 +23,11 @@
23
__version__ = "0.0.0-auto.0"
24
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Motor.git"
25
26
-from micropython import const
+FAST_DECAY = 0
27
+"""Recirculation current fast decay mode (coasting)"""
28
-FAST_DECAY = const(0) # Recirculation current fast decay mode (coasting)
29
-SLOW_DECAY = const(1) # Recirculation current slow decay mode (braking)
+SLOW_DECAY = 1
30
+"""Recirculation current slow decay mode (braking)"""
31
32
33
class DCMotor:
0 commit comments