Table of Contents

Class Sn74hc595

Namespace
Iot.Device.Multiplexing
Assembly
Iot.Device.Sn74hc595.dll

SN74HC595 8-Bit Shift Registers With 3-State Output Registers Supports SPI and GPIO control.

public class Sn74hc595 : ShiftRegister, IOutputSegment
Inheritance
Sn74hc595
Implements
Inherited Members

Constructors

Sn74hc595(Sn74hc595PinMapping, int, GpioController?, bool)

Initializes a new instance of the Sn74hc595 class.

public Sn74hc595(Sn74hc595PinMapping pinMapping, int bitLength = 8, GpioController? gpioController = null, bool shouldDispose = true)

Parameters

pinMapping Sn74hc595PinMapping

The pin mapping to use by the binding.

bitLength int

Bit length of register, including chained registers. Default is 8 bits.

gpioController GpioController

The GPIO Controller used for interrupt handling.

shouldDispose bool

True (the default) if the GPIO controller shall be disposed when disposing this instance.

Methods

ClearStorage(bool)

Clear storage register. Requires use of GPIO controller.

public void ClearStorage(bool latch = true)

Parameters

latch bool

Is latch enabled.