Class Pca9685.DigitalOutputPort
Represents a digital output port for the PCA9685 I/O expander.
Assembly: Pca9685.dll
View Source
Declaration
public class Pca9685.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