Characteristic Locus
Inheritance object > Motor > DCMotor > StepperMotor
Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString()
Namespace Meadow.Foundation.FeatherWings
Assembly MotorWing.dll

Syntax

public abstract class Motor

Constructors

Motor(Pca9685)

Creates a Motor driver

Declaration
public Motor(Pca9685 pca9685)

Parameters

Type Name Description
Pca9685 pca9685

A pca9685 instance

Fields

pca9685

The pca9685 instance used to control the motor

Declaration
protected readonly Pca9685 pca9685

Field Value

Type Description
Pca9685

Methods

SetSpeed(short)

Set the motor speed

Declaration
public abstract void SetSpeed(short speed)

Parameters

Type Name Description
short speed

The motor speed