Skip to main content

Class T3xxx.DigitalInputPort

Represents a digital input port on a Temco Controls T3 module.

Assembly: Temco.T3xxx.dll​
View Source​
Declaration
public class T3xxx.DigitalInputPort : IDigitalInputPort, IDigitalPort, IPort<IDigitalChannelInfo>, IDisposable

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 bool State { get; }

Resistor​

Gets or sets the ResistorMode of the port

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

Channel​

Gets the channel associated with the port.

View Source​
Declaration
public IDigitalChannelInfo Channel { get; }

Pin​

Gets the pin associated with the port.

View Source​
Declaration
public IPin Pin { get; }

Methods​

Dispose()​

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

View Source​
Declaration
public void Dispose()

Implements​

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