C# Class GHIElectronics.UAP.Shields.FEZHAT.Servo

Represents an onboard servo.
Afficher le fichier Open project: amykatenicho/IoTWorkshop

Méthodes publiques

Méthode Description
SetLimits ( int minimumPulseWidth, int maximumPulseWidth, double minimumAngle, double maximumAngle ) : void

Sets the limits of the servo.

Private Methods

Méthode Description
Servo ( PCA9685 pwm, int channel ) : GHIElectronics.UAP.Drivers

Method Details

SetLimits() public méthode

Sets the limits of the servo.
public SetLimits ( int minimumPulseWidth, int maximumPulseWidth, double minimumAngle, double maximumAngle ) : void
minimumPulseWidth int The minimum pulse width in milliseconds.
maximumPulseWidth int The maximum pulse width in milliseconds.
minimumAngle double The minimum angle of input passed to Position.
maximumAngle double The maximum angle of input passed to Position.
Résultat void