public class MediumMotor extends GenericMotor
Constructor and Description |
---|
MediumMotor()
Creates a motor instance that is plugged into port A.
|
MediumMotor(MotorPort port)
Creates a motor instance that is plugged into given port.
|
Modifier and Type | Method and Description |
---|---|
lejos.hardware.motor.EV3MediumRegulatedMotor |
getLejosMotor()
Returns the reference of the the underlying lejos.hardware.motor.EV3MediumRegulatedMotor.
|
backward, continueRelativeTo, continueRelativeTo, continueTo, continueTo, forward, getMotorCount, getPortId, getPortLabel, getSpeed, getVelocity, isMoving, resetMotorCount, rotateTo, rotateTo, setAcceleration, setSpeed, setSpeedFactor, setVelocity, speedToVelocity, stop, stop, velocityToSpeed
public MediumMotor(MotorPort port)
port
- the port where the motor is plugged-in (MotorPort.A, MotorPort.B, MotorPort.C)public MediumMotor()