Table of Contents

Class Pcx8574

Namespace
Iot.Device.Pcx857x
Assembly
Iot.Device.Pcx857x.dll

Base class for 8 bit I/O expanders.

public abstract class Pcx8574 : Pcx857x
Inheritance
GpioDriver
Pcx8574
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 I2cDevice

I2C device

interrupt int

Interrupt pin

gpioController GpioController

GpioController related with interrupt pin

shouldDispose bool

True to dispose the Gpio Controller

Properties

PinCount

The number of pins provided by the driver.

protected override int PinCount { get; }

Property Value

int