Skip to main content

Class DigitalOutputPortBase

Provides a base implementation for digital output ports.

Assembly: Meadow.Contracts.dll
View Source
public abstract class DigitalOutputPortBase : DigitalPortBase, IDigitalOutputPort, IDigitalPort, IPort<IDigitalChannelInfo>, IDisposable

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

Derived:
Meadow.Hardware.DigitalOutputPort

Implements:
Meadow.Hardware.IDigitalOutputPort, Meadow.Hardware.IDigitalPort, Meadow.Hardware.IPort<C>, System.IDisposable

Properties

InitialState

Gets the initial state of the port, either low (false) or high (true), as typically configured during the port's constructor.

View Source
public bool InitialState { get; protected set; }

InitialOutputType

Gets or sets the initial OutputType for the port

View Source
public OutputType InitialOutputType { get; protected set; }

State

Gets or sets the current state of the port

View Source
public abstract bool State { get; set; }

Implements