Brick.SetMotorDps(Byte, Int32) Method

Definition

Set the motor target speed in degrees per second

public void SetMotorDps (byte port, int dps);
member this.SetMotorDps : byte * int -> unit
Public Sub SetMotorDps (port As Byte, dps As Integer)

Parameters

port
Byte

The Motor port(s). PortA, PortB, PortC, and/or PortD.

dps
Int32

The target speed in degrees per second

Applies to