Skip to main content

Class Pcx857x.DigitalOutputPort

A Pcx857x-specific implementation of the IDigitalOutputPort

Assembly: Pcx857x.dll
View Source
Declaration
public class Pcx857x.DigitalOutputPort : DigitalOutputPortBase, IDigitalOutputPort, IDigitalPort, IPort<IDigitalChannelInfo>, IDisposable

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

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

Properties

Peripheral

The port's containing Pcx857x

View Source
Declaration
public Pcx857x Peripheral { get; }

State

Gets or sets the current state of the port

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

Methods

Dispose(bool)

Releases the resources used by the port.

View Source
Declaration
protected override void Dispose(bool disposing)
Parameters
TypeNameDescription
System.BooleandisposingA boolean value indicating whether the port is being disposed.

Implements

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