Skip to main content

Class Tca95x5.DigitalOutputPort

Represents a digital output port for the TCA9535 I/O expander.

Assembly: Tca95x5.dll​
View Source​
Declaration
public class Tca95x5.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 of the digital output port.

View Source​
Declaration
public bool InitialState { get; }

State​

Gets or sets the current state of the digital output port.

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

Channel​

Gets the digital channel information for the port.

View Source​
Declaration
public IDigitalChannelInfo Channel { get; }

Pin​

Gets the pin associated with the digital output port.

View Source​
Declaration
public IPin Pin { get; }

Methods​

Dispose()​

Disposes of the digital output port.

View Source​
Declaration
public void Dispose()

Implements​

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