Skip to main content

Meadow.Foundation.ICs.IOExpanders.Nxp74HC4067

Nxp74HC4067
StatusStatus badge: working
Source codeGitHub
Datasheet(s)GitHub
NuGet packageNuGet Gallery for Meadow.Foundation.ICs.IOExpanders.AnalogMux

Code Example

Sample project(s) available on GitHub

Wiring Example

To wire a Mcp23s08 to your Meadow board, connect the following:

Nxp74HC4067Meadow Pin
GNDGND
VCC3V3
SCLD08 (SCL Pin)
SDAD07 (SDA Pin)

Class Nxp74HC4067

Represents an NXP 74HC4067 16-channel analog multiplexer

Assembly: AnalogMux.dll
View Source
Declaration
public class Nxp74HC4067 : AnalogMuxBase, IAnalogInputMultiplexer

Inheritance: System.Object -> Meadow.Foundation.ICs.IOExpanders.AnalogMuxBase

Derived:
Meadow.Foundation.ICs.IOExpanders.Hp4067

Implements:
Meadow.Foundation.ICs.IOExpanders.IAnalogInputMultiplexer

Properties

S0

The port connected to the mux's S0 selection pin

View Source
Declaration
public IDigitalOutputPort S0 { get; }

S1

The port connected to the mux's S1 selection pin

View Source
Declaration
public IDigitalOutputPort? S1 { get; }

S2

The port connected to the mux's S2 selection pin

View Source
Declaration
public IDigitalOutputPort? S2 { get; }

S3

The port connected to the mux's S3 selection pin

View Source
Declaration
public IDigitalOutputPort? S3 { get; }

Methods

SetInputChannel(int)

Sets the channel input (Y pin) that will be routed to the mux output (Z pin)

View Source
Declaration
public override void SetInputChannel(int channel)
Parameters
TypeName
System.Int32channel
Exceptions

System.ArgumentOutOfRangeException

Implements