Property | Type | Description | |
---|---|---|---|
ALL | IPCF8574Pin[] | ||
GPIO_00 | IPCF8574Pin | ||
GPIO_01 | IPCF8574Pin | ||
GPIO_02 | IPCF8574Pin | ||
GPIO_03 | IPCF8574Pin | ||
GPIO_04 | IPCF8574Pin | ||
GPIO_05 | IPCF8574Pin | ||
GPIO_06 | IPCF8574Pin | ||
GPIO_07 | IPCF8574Pin |
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.IO.PCF.PCF8574Pin. The Dispose method leaves the CyrusBuilt.MonoPi.IO.PCF.PCF8574Pin in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.IO.PCF.PCF8574Pin so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.IO.PCF.PCF8574Pin was occupying. |
|
PCF8574Pin ( ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCF.PCF8574Pin class. This is the default constructor.
|
|
PCF8574Pin ( |
Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCF.PCF8574Pin class with the address of the pin.
|
|
PCF8574Pin ( |
Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCF.PCF8574Pin class with the address and name of the pin.
|
|
PCF8574Pin ( String provider, |
Initializes a new instance of the CyrusBuilt.MonoPi.IO.PCF.PCF8574Pin class with the GPIO provider, address, and name of the pin.
|
|
SetMode ( PinMode mode ) : void |
Sets the pin mode.
|
|
SetState ( PinState state ) : void |
Sets the state of the pin.
|
|
ToString ( ) : string |
Returns a System.String that represents the current CyrusBuilt.MonoPi.IO.PCF.PCF8574Pin.
|
Method | Description | |
---|---|---|
CreateDigitalPin ( |
Factory method for creating a digital PCF8574 pin.
|
public PCF8574Pin ( |
||
address | /// The address of the pin. /// | |
return | System |
public PCF8574Pin ( |
||
address | /// The address of the pin. /// | |
name | String | /// The name of the pin. /// |
return | System |
public PCF8574Pin ( String provider, |
||
provider | String | /// The GPIO pin provider. /// |
address | /// The address of the pin. /// | |
name | String | /// The name of the pin. /// |
return | System |
public SetMode ( PinMode mode ) : void | ||
mode | PinMode | /// The pin mode. /// |
return | void |
public SetState ( PinState state ) : void | ||
state | PinState | /// The pin state. /// |
return | void |