Edit

Share via


Brick.SetMotorPosition(Byte, Int32) Method

Definition

Set the motor target position in degrees

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

Parameters

port
Byte

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

positionDegree
Int32

The target position in degree

Applies to