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 9df0164 commit de07607Copy full SHA for de07607
examples/motor_pca9685_dc_motor.py
@@ -32,7 +32,9 @@
32
# See here for more info: https://learn.adafruit.com/adafruit-motor-shield-v2-for-arduino/faq#faq-13
33
pca.channels[7].duty_cycle = 0xFFFF
34
motor4 = motor.DCMotor(pca.channels[5], pca.channels[6])
35
-motor4.decay_mode = motor.SLOW_DECAY # Set motor to active braking mode to improve performance
+motor4.decay_mode = (
36
+ motor.SLOW_DECAY
37
+) # Set motor to active braking mode to improve performance
38
39
print("Forwards slow")
40
motor4.throttle = 0.5
0 commit comments