Click or drag to resize
PwmDCMotorRun Method
Runs the motor in the specified direction.

Namespace:  Adafruit.IoT.Motors
Assembly:  Adafruit.IoT (in Adafruit.IoT.dll) Version: 1.0.6.0 (1.0.6.0)
Syntax
public void Run(
	Direction direction
)

Parameters

direction
Type: Adafruit.IoT.MotorsDirection
A Direction.

Implements

IMotorRun(Direction)
Remarks
This method uses the previously value set using SetSpeed(Double) to modulate the PWM power going to the motor. In order to change the speed of a running motor you must call this method again after calling SetSpeed(Double).
See Also