DirectCommand TurnMotorAtSpeedAsync Method LEGO Mindstorms EV3 API Documentation
For more information, please see the OnlineCodePlex project page and the OnlineGetting Started guide.

Turn the specified motor at the specified speed.

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 TurnMotorAtSpeedAsync(
	OutputPort ports,
	int speed
)

Parameters

ports
Type: Lego.Ev3.Core OutputPort
Port or ports to apply the command to.
speed
Type: OnlineSystem Int32
The speed to apply to the specified motors (-100 to 100).

Return Value

Type: OnlineTask
See Also