Class Pcx8574
Base class for 8 bit I/O expanders.
public abstract class Pcx8574 : Pcx857x
- Inheritance
-
GpioDriverPcx8574
- Derived
- Inherited Members
Constructors
Pcx8574(I2cDevice, int, GpioController, bool)
Constructs Pcx8574 instance
public Pcx8574(I2cDevice device, int interrupt = -1, GpioController gpioController = null, bool shouldDispose = true)
Parameters
device
I2cDeviceI2C device
interrupt
intInterrupt pin
gpioController
GpioControllerGpioController related with
interrupt
pinshouldDispose
boolTrue to dispose the Gpio Controller
Properties
PinCount
The number of pins provided by the driver.
protected override int PinCount { get; }