Class T3xxx.DigitalOutputPort
Represents a digital output port on a Temco Controls T3 module. Provides functionality to control digital output states (on/off) on output channels.
Assembly: Temco.T3xxx.dll
View Source
public class T3xxx.DigitalOutputPort : IDigitalOutputPort, IDigitalPort, IPort<IDigitalChannelInfo>, IDisposable
Implements:
Meadow.Hardware.IDigitalOutputPort, Meadow.Hardware.IDigitalPort, Meadow.Hardware.IPort<Meadow.Hardware.IDigitalChannelInfo>, System.IDisposable
Properties
InitialState
Gets the initial state that was set when the port was created.
View Source
public bool InitialState { get; }
Channel
Gets the digital channel information for this output port.
View Source
public IDigitalChannelInfo Channel { get; }
Pin
Gets the pin associated with this digital output port.
View Source
public IPin Pin { get; }
State
Gets or sets the current state of the digital output port. Setting the state immediately writes the value to the module's output register. Getting the state returns the last set value or reads from the module if no value has been set.
View Source
public bool State { get; set; }
Methods
Dispose()
Releases any resources used by the digital output port.
View Source
public void Dispose()
Implements
Meadow.Hardware.IDigitalOutputPortMeadow.Hardware.IDigitalPortMeadow.Hardware.IPort<Meadow.Hardware.IDigitalChannelInfo>System.IDisposable