Skip to main content

Class Mcp23xxx.DigitalInputPort

Represents an Mcp23xxx digital input port

Assembly: Mcp23xxx.dll
View Source
Declaration
public class Mcp23xxx.DigitalInputPort : DigitalInputPortBase, IDigitalInputPort, IDigitalPort, IPort<IDigitalChannelInfo>, IDisposable

Inheritance: System.Object -> Meadow.Hardware.PortBase<Meadow.Hardware.IDigitalChannelInfo> -> Meadow.Hardware.DigitalPortBase -> Meadow.Hardware.DigitalInputPortBase

Implements:
Meadow.Hardware.IDigitalInputPort, Meadow.Hardware.IDigitalPort, Meadow.Hardware.IPort<Meadow.Hardware.IDigitalChannelInfo>, System.IDisposable

Properties

State

Gets the current state of the port

View Source
Declaration
public override bool State { get; }

Resistor

Gets or sets the internal resistor mode of the port

View Source
Declaration
public override ResistorMode Resistor { get; set; }

Implements

  • Meadow.Hardware.IDigitalInputPort
  • Meadow.Hardware.IDigitalPort
  • Meadow.Hardware.IPort<Meadow.Hardware.IDigitalChannelInfo>
  • System.IDisposable