Polarity EnumerationLEGO Mindstorms EV3 API Documentation
For more information, please see the OnlineCodePlex project page and the OnlineGetting Started guide.

Polarity/direction to turn the motor

Namespace: Lego.Ev3.Core
Assembly: Lego.Ev3.Desktop (in Lego.Ev3.Desktop.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public enum Polarity
Members

  Member nameValueDescription
Backward-1 Turn backward
Opposite0 Turn in the opposite direction
Forward1 Turn forward
See Also