Method | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Call Dispose when you are finished using the CyrusBuilt.MonoPi.Components.Servos.PCA9685GpioServoDriver. The Dispose method leaves the CyrusBuilt.MonoPi.Components.Servos.PCA9685GpioServoDriver in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Components.Servos.PCA9685GpioServoDriver so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Components.Servos.PCA9685GpioServoDriver was occupying. |
|
PCA9685GpioServoDriver ( |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Servos.PCA9685GpioServoDriver class with a PCA9685 GPIO provider and pin.
|
Method | Description | |
---|---|---|
UpdateResolution ( ) : void |
Updates the resolution.
|
public PCA9685GpioServoDriver ( |
||
provider | /// The PCA9685 GPIO provider. /// | |
pin | IPCA9685Pin | /// The PCA9685 pin (channel) the servo is attached to. /// |
return | System |