Remarks

Mcp4161
Status Status badge: working
Source code GitHub
Datasheet(s) GitHub
NuGet package NuGet Gallery for Meadow.Foundation.ICs.DigiPots.Mcp4xxx
Characteristic Locus
Inheritance object Mcp4xxx Mcp4xx1 > Mcp4161
Implements ISpiPeripheral
Inherited Members Mcp4xx1.Potentiometers Mcp4xxx.SpiComms Mcp4xxx.DefaultSpiBusMode Mcp4xxx.DefaultSpiBusSpeed Mcp4xxx.MaxResistance Mcp4xxx.SpiBusMode Mcp4xxx.SpiBusSpeed object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString()
Namespace Meadow.Foundation.ICs.DigiPots
Assembly Mcp4xxx.dll

Syntax

public class Mcp4161 : Mcp4xx1, ISpiPeripheral

Constructors

Mcp4161(ISpiBus, IDigitalOutputPort, Resistance)

Initializes a new instance of the Mcp4161 class.

Declaration
public Mcp4161(ISpiBus spiBus, IDigitalOutputPort chipSelect, Resistance maxResistance)

Parameters

Type Name Description
ISpiBus spiBus

The SPI bus to which the MCP4161 is connected.

IDigitalOutputPort chipSelect

The digital output port for the chip select (CS) pin.

Resistance maxResistance

The maximum resistance of the potentiometer.

Remarks

Mcp4161
Status Status badge: working
Source code GitHub
Datasheet(s) GitHub
NuGet package NuGet Gallery for Meadow.Foundation.ICs.DigiPots.Mcp4xxx

Properties

MaxSteps

Gets the maximum number of steps or resolution.

Declaration
public override int MaxSteps { get; }

Property Value

Type Description
int

Overrides

Remarks

Mcp4161
Status Status badge: working
Source code GitHub
Datasheet(s) GitHub
NuGet package NuGet Gallery for Meadow.Foundation.ICs.DigiPots.Mcp4xxx