Edit

Share via


Motor.SetPolarity(Polarity) Method

Definition

Change the polatity of the motor

public void SetPolarity (Iot.Device.BrickPi3.Movement.Polarity polarity);
member this.SetPolarity : Iot.Device.BrickPi3.Movement.Polarity -> unit
Public Sub SetPolarity (polarity As Polarity)

Parameters

polarity
Polarity

Polarity of the motor, backward, forward or opposite

Applies to