Property | Type | Description | |
---|---|---|---|
_initValue | PinState | ||
_mode | PinMode |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Releases all resource used by the CyrusBuilt.MonoPi.IO.PiFaceGpioBase object. Call Dispose when you are finished using the CyrusBuilt.MonoPi.IO.PiFaceGpioBase. The Dispose method leaves the CyrusBuilt.MonoPi.IO.PiFaceGpioBase in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.IO.PiFaceGpioBase so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.IO.PiFaceGpioBase was occupying. |
|
Provision ( ) : void |
Provisions the pin (initialize to specified mode and make active).
|
|
Pulse ( |
Pulse the pin output for the specified number of milliseconds.
|
|
Read ( ) : PinState |
Read a value from the pin.
|
|
ToString ( ) : string |
Returns a String that represents the current CyrusBuilt.MonoPi.IO.PiFaceGpioBase.
|
|
Write ( PinState value ) : void |
Write the specified value to the pin.
|
Method | Description | |
---|---|---|
GetGpioPinNumber ( GpioPins pin ) : String |
Gets the GPIO pin number.
|
|
OnStateChanged ( |
Raises the state changed event.
|
|
PiFaceGpioBase ( PiFacePins pin ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.IO.PiFaceGpioBase class with the physical pin represented by this class.
|
|
PiFaceGpioBase ( PiFacePins pin, PinState initialValue ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.IO.PiFaceGpioBase class with the physical pin represented by this class.
|
protected static GetGpioPinNumber ( GpioPins pin ) : String | ||
pin | GpioPins | /// The GPIO pin. /// |
return | String |
protected OnStateChanged ( |
||
e | /// The event arguments. /// | |
return | void |
protected PiFaceGpioBase ( PiFacePins pin ) : System | ||
pin | PiFacePins | /// The physical pin being wrapped by this class. /// |
return | System |
protected PiFaceGpioBase ( PiFacePins pin, PinState initialValue ) : System | ||
pin | PiFacePins | /// The physical pin being wrapped by this class. /// |
initialValue | PinState | /// Initial value. /// |
return | System |
public Pulse ( |
||
millis | /// The number of milliseconds to wait between states. /// | |
return | void |
public Write ( PinState value ) : void | ||
value | PinState |
/// If set to |
return | void |