Click or drag to resize

Device Class

Encapsulates PCA8574 (and similar) I2C GPIO Expanders.
Inheritance Hierarchy
SystemObject
  IO.Devices.PCA8574Device

Namespace: IO.Devices.PCA8574
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.356.1
Syntax
C#
public class Device

The Device type exposes the following members.

Constructors
 NameDescription
Public methodDevice Constructor for a PCA8574 (or similar) GPIO Expander.
Top
Properties
 NameDescription
Public propertyLatch This read-only property returns the last value written to the output latch.
Top
Methods
 NameDescription
Public methodRead Return actual state of the GPIO pins.
Public methodWrite Write all GPIO pins.
Top
Fields
 NameDescription
Public fieldStatic memberMAX_PINS The number of available GPIO pins per chip.
Top
See Also