For more information, please see the
CodePlex project page and the
Getting Started guide.
Assembly: Lego.Ev3.Desktop (in Lego.Ev3.Desktop.dll) Version: 1.0.0.0 (1.0.0.0)
Task


Step the motor connected to the specified port or ports at the specified speed for the specified number of steps.
Namespace: Lego.Ev3.CoreAssembly: Lego.Ev3.Desktop (in Lego.Ev3.Desktop.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- ports
- Type: Lego.Ev3.Core OutputPort
A specific port or Ports.All.
- speed
- Type:
System Int32
The speed at which to turn the motor (-100 to 100).
- rampUpSteps
- Type:
System UInt32
[Missing <param name="rampUpSteps"/> documentation for "M:Lego.Ev3.Core.DirectCommand.StepMotorAtSpeedAsync(Lego.Ev3.Core.OutputPort,System.Int32,System.UInt32,System.UInt32,System.UInt32,System.Boolean)"]
- constantSteps
- Type:
System UInt32
[Missing <param name="constantSteps"/> documentation for "M:Lego.Ev3.Core.DirectCommand.StepMotorAtSpeedAsync(Lego.Ev3.Core.OutputPort,System.Int32,System.UInt32,System.UInt32,System.UInt32,System.Boolean)"]
- rampDownSteps
- Type:
System UInt32
[Missing <param name="rampDownSteps"/> documentation for "M:Lego.Ev3.Core.DirectCommand.StepMotorAtSpeedAsync(Lego.Ev3.Core.OutputPort,System.Int32,System.UInt32,System.UInt32,System.UInt32,System.Boolean)"]
- brake
- Type:
System Boolean
Apply brake to motor at end of routine.
Return Value
Type:
See Also