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

Represents an onboard motor.
Inheritance: IDisposable
Afficher le fichier Open project: amykatenicho/IoTWorkshop

Méthodes publiques

Méthode Description
Dispose ( ) : void

Disposes of the object releasing control the pins.

Stop ( ) : void

Stops the motor.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes of the object releasing control the pins.

Private Methods

Méthode Description
Motor ( PCA9685 pwm, int pwmChannel, int direction1Pin, int direction2Pin ) : GHIElectronics.UAP.Drivers

Method Details

Dispose() public méthode

Disposes of the object releasing control the pins.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Disposes of the object releasing control the pins.
protected Dispose ( bool disposing ) : void
disposing bool Whether or not this method is called from Dispose().
Résultat void

Stop() public méthode

Stops the motor.
public Stop ( ) : void
Résultat void