EV3 DC Motor¶
This class is specifically for on EV3. For Powered Up DC Motors, just use
Generic class to control simple motors without rotation sensors, such as train motors.
Rotates the motor at a given duty cycle (also known as “power”).
duty (percentage: %) – The duty cycle (-100.0 to 100).
Stops the motor and lets it spin freely.
The motor gradually stops due to friction.