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)


Turn the motor connected to the specified port or ports at the specified power for the specified times.
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.
- power
- Type:
System Int32
The power at which to turn the motor (-100% to 100%).
- msRampUp
- Type:
System UInt32
Number of milliseconds to get up to power.
- msConstant
- Type:
System UInt32
Number of milliseconds to run at constant power.
- msRampDown
- Type:
System UInt32
Number of milliseconds to power down to a stop.
- brake
- Type:
System Boolean
Apply brake to motor at end of routine.
Return Value
Type:See Also