Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Releases all resource used by the CyrusBuilt.MonoPi.Components.Servos.PCA9685GpioServoProvider object. Call Dispose when you are finished using the CyrusBuilt.MonoPi.Components.Servos.PCA9685GpioServoProvider. The Dispose method leaves the CyrusBuilt.MonoPi.Components.Servos.PCA9685GpioServoProvider in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Components.Servos.PCA9685GpioServoProvider so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Components.Servos.PCA9685GpioServoProvider was occupying. |
|
GetServoDriver ( IPin servoPin ) : IServoDriver |
Gets a driver for the requested pin.
|
|
PCA9685GpioServoProvider ( |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Servos.PCA9685GpioServoProvider class with the GPIO provider for the PCA9685.
|
public GetServoDriver ( IPin servoPin ) : IServoDriver | ||
servoPin | IPin | /// The pin the driver is needed for. /// |
Résultat | IServoDriver |
public PCA9685GpioServoProvider ( |
||
provider | /// A GPIO provider for the PCA9685 /// | |
Résultat | System |