Skip to main content

Class DigitalOutputPortBase

Provides a base implementation for digital output ports.

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

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

Derived:
Meadow.Hardware.DigitalOutputPort

Implements:
Meadow.Hardware.IDigitalOutputPort, 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
Declaration
public bool InitialState { get; protected set; }

InitialOutputType

Gets or sets the initial OutputType for the port

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

State

Gets or sets the current state of the port

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

Implements