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

Represents an onboard motor.
Inheritance: IDisposable
Mostra file Open project: amykatenicho/IoTWorkshop

Public Methods

Method Description
Dispose ( ) : void

Disposes of the object releasing control the pins.

Stop ( ) : void

Stops the motor.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes of the object releasing control the pins.

Private Methods

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

Method Details

Dispose() public method

Disposes of the object releasing control the pins.
public Dispose ( ) : void
return void

Dispose() protected method

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

Stop() public method

Stops the motor.
public Stop ( ) : void
return void