Méthode | 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.RPIServoBlasterDriver. The Dispose method leaves the CyrusBuilt.MonoPi.Components.Servos.RPIServoBlasterDriver in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Components.Servos.RPIServoBlasterDriver so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Components.Servos.RPIServoBlasterDriver was occupying. |
|
RPIServoBlasterDriver ( IRaspiGpio pin, |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Servos.RPIServoBlasterDriver class with the servo pin, the index of the pin in the servo provider's pin map, The name of the pin, and the servo provider.
|
public RPIServoBlasterDriver ( IRaspiGpio pin, |
||
pin | IRaspiGpio | /// The pin the servo is attached to. /// |
index | /// The index of the pin in the servo provider's pin map. /// | |
pinName | String | /// The name of the pin. /// |
provider | /// The servo provider. /// | |
Résultat | System |