Class Mcp4xxx.ResistorArray
Represents a resistor array in an MCP4xxx digital potentiometer or rheostat.
Assembly: Mcp4xxx.dll
View Source
Declaration
public class Mcp4xxx.ResistorArray : IPotentiometer, IRheostat
Implements:
Meadow.Hardware.IPotentiometer
, Meadow.Hardware.IRheostat
Properties
MaxResistance
Gets the maximum resistance of the rheostat.
View Source
Declaration
public Resistance MaxResistance { get; }
Resistance
Gets or sets the current resistance of the rheostat.
View Source
Declaration
public Resistance Resistance { get; set; }
Events
Changed
Raised when a change is detected
View Source
Declaration
public event EventHandler<IChangeResult<Resistance>>? Changed
Event Type
System.EventHandler<Meadow.IChangeResult<Meadow.Units.Resistance>>
Implements
Meadow.Hardware.IPotentiometer
Meadow.Hardware.IRheostat