 | Direction Enumeration |
Specifies the motor direction.
Namespace:
Adafruit.IoT.Motors
Assembly:
Adafruit.IoT (in Adafruit.IoT.dll) Version: 1.0.6.0 (1.0.6.0)
SyntaxPublic Enumeration Direction
public enum class Direction
Members
| Member name | Value | Description |
---|
| Forward | 1 |
Motor will turn in the forward direction.
|
| Backward | 2 |
Motor will turn in the backward direction.
|
Remarks
The forward and reverse direction typically refers to clockwise and counter clockwise motor rotation.
But individual implementations and motor wiring can alter this so that it means, for example, a
forward direction of the robot's wheels. So the precise meaning of forward and backward is implementation
dependent.
See Also