Метод | Описание | |
---|---|---|
DimmableLightComponent ( IGpio pin, |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Lights.DimmableLightComponent class with the pin controlling the light and the minimum and maximum light level.
|
|
Dispose ( ) : void |
Releases all resource used by the CyrusBuilt.MonoPi.Components.Lights.DimmableLightComponent object. Call Dispose when you are finished using the CyrusBuilt.MonoPi.Components.Lights.DimmableLightComponent. The Dispose method leaves the CyrusBuilt.MonoPi.Components.Lights.DimmableLightComponent in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Components.Lights.DimmableLightComponent so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Components.Lights.DimmableLightComponent was occupying. |
public DimmableLightComponent ( IGpio pin, |
||
pin | IGpio | /// The pin used to control the dimmable light. /// |
min | /// The minimum brightness level. /// | |
max | /// The maximum brightness level. /// | |
Результат | System |