Characteristic Locus
Inheritance System.Object ServoBase > Servo
Implements IServo
Inherited Members ServoBase._pwm ServoBase.Config ServoBase._config ServoBase.Angle ServoBase.RotateTo(Angle) ServoBase.Stop() ServoBase.CalculatePulseDuration(Angle) ServoBase.CalculateDutyCycle(Single) ServoBase.SendCommandPulse(Single)
Namespace Meadow.Foundation.Servos
Assembly ServoCore.dll

Syntax

public class Servo : ServoBase, IServo

Constructors

Servo(IPwmOutputController, IPin, ServoConfig)

Declaration
public Servo(IPwmOutputController device, IPin pwm, ServoConfig config)

Parameters

Type Name Description
IPwmOutputController device
IPin pwm
ServoConfig config

Servo(IPwmPort, ServoConfig)

Declaration
public Servo(IPwmPort pwm, ServoConfig config)

Parameters

Type Name Description
IPwmPort pwm
ServoConfig config