Characteristic Locus
Inheritance System.Object > ServoConfig
Inherited Members System.Object.ToString() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone()
Namespace Meadow.Foundation.Servos
Assembly Servo.dll

Syntax

public class ServoConfig

Constructors

ServoConfig(Int32, Int32, Int32, Int32, Int32)

Declaration
public ServoConfig(int minimumAngle = 0, int maximumAngle = 180, int minimumPulseDuration = 1000, int maximumPulseDuration = 2000, int frequency = 50)

Parameters

Type Name Description
System.Int32 minimumAngle
System.Int32 maximumAngle
System.Int32 minimumPulseDuration

The minimum angle's pulse duration (in microseconds). Default is 1,000 (1.0 millisecond).

System.Int32 maximumPulseDuration

The maximum angle's pulse duratino (in microseconds). Default is 2,000 (2.0 milleseconds).

System.Int32 frequency

Properties

Frequency

Declaration
public int Frequency { get; }

Property Value

Type Description
System.Int32

MaximumAngle

Declaration
public int MaximumAngle { get; }

Property Value

Type Description
System.Int32

MaximumPulseDuration

Declaration
public int MaximumPulseDuration { get; }

Property Value

Type Description
System.Int32

MinimumAngle

Declaration
public int MinimumAngle { get; }

Property Value

Type Description
System.Int32

MinimumPulseDuration

Declaration
public int MinimumPulseDuration { get; }

Property Value

Type Description
System.Int32