Command StepMotorAtPower Method (OutputPort, Int32, UInt32, UInt32, UInt32, Boolean)LEGO Mindstorms EV3 API Documentation
For more information, please see the OnlineCodePlex project page and the OnlineGetting Started guide.

Step the motor connected to the specified port or ports at the specified power for the specified number of steps.

Namespace: Lego.Ev3.Core
Assembly: Lego.Ev3.Desktop (in Lego.Ev3.Desktop.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void StepMotorAtPower(
	OutputPort ports,
	int power,
	uint rampUpSteps,
	uint constantSteps,
	uint rampDownSteps,
	bool brake
)

Parameters

ports
Type: Lego.Ev3.Core OutputPort
A specific port or Ports.All.
power
Type: OnlineSystem Int32
The power at which to turn the motor (-100% to 100%).
rampUpSteps
Type: OnlineSystem UInt32

[Missing <param name="rampUpSteps"/> documentation for "M:Lego.Ev3.Core.Command.StepMotorAtPower(Lego.Ev3.Core.OutputPort,System.Int32,System.UInt32,System.UInt32,System.UInt32,System.Boolean)"]

constantSteps
Type: OnlineSystem UInt32

[Missing <param name="constantSteps"/> documentation for "M:Lego.Ev3.Core.Command.StepMotorAtPower(Lego.Ev3.Core.OutputPort,System.Int32,System.UInt32,System.UInt32,System.UInt32,System.Boolean)"]

rampDownSteps
Type: OnlineSystem UInt32

[Missing <param name="rampDownSteps"/> documentation for "M:Lego.Ev3.Core.Command.StepMotorAtPower(Lego.Ev3.Core.OutputPort,System.Int32,System.UInt32,System.UInt32,System.UInt32,System.Boolean)"]

brake
Type: OnlineSystem Boolean
Apply brake to motor at end of routine.
See Also