Click or drag to resize
IMotor Interface
Defines common methods used by all motors.

Namespace:  Adafruit.IoT.Motors
Assembly:  Adafruit.IoT (in Adafruit.IoT.dll) Version: 1.0.6.0 (1.0.6.0)
Syntax
public interface IMotor

The IMotor type exposes the following members.

Methods
  NameDescription
Public methodRun
Run the motor continuously in the specified direction
Public methodSetSpeed
Sets the speed of the motor.
Public methodStop
Stop the motor and cut its power.
Top
Remarks
The purpose of this interface is to share generic motor control methods between type and strongly-type motor control types.
See Also