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

Turn the motor connected to the specified port or ports at the specified power for the specified times.

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

public Task TurnMotorAtPowerForTimeAsync(
	OutputPort ports,
	int power,
	uint milliseconds,
	bool brake
)

Return Value

Type: OnlineTask
See Also