Class Mcp4xxx
Represents a Mcp4xxx digital potentimeter or rheostat
Assembly: Mcp4xxx.dll
View Source
public abstract class Mcp4xxx : ISpiPeripheral
Derived:
Meadow.Foundation.ICs.DigiPots.Mcp4xx1, Meadow.Foundation.ICs.DigiPots.Mcp4xx2
Implements:
Meadow.Hardware.ISpiPeripheral
Properties
SpiComms
Gets the ISpiCommunications used to ineract with the SPI bus
View Source
protected ISpiCommunications SpiComms { get; }
DefaultSpiBusMode
Default SPI bus mode
View Source
public SpiClockConfiguration.Mode DefaultSpiBusMode { get; }
DefaultSpiBusSpeed
Default SPI bus speed for the peripheral
View Source
public Frequency DefaultSpiBusSpeed { get; }
MaxResistance
Gets the maximum resistance of the digital potentiometer.
View Source
public Resistance MaxResistance { get; }
MaxSteps
Gets the maximum number of steps or resolution.
View Source
public abstract int MaxSteps { get; }
SpiBusMode
Current SPI bus mode
View Source
public SpiClockConfiguration.Mode SpiBusMode { get; set; }
SpiBusSpeed
Current SPI bus speed
View Source
public Frequency SpiBusSpeed { get; set; }
Implements
Meadow.Hardware.ISpiPeripheral