Edit

Share via


Motor.SetPolarity(Polarity) Method

Definition

Change the polatity of the motor

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

Parameters

polarity
Polarity

Polarity of the motor, backward, forward or opposite

Applies to