Skip to main content

Class DigitalInputPortBase

Provides a base implementation for digital input ports.

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

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

Derived:
Meadow.Hardware.DigitalInputPort

Implements:
Meadow.Hardware.IDigitalInputPort, System.IDisposable

Properties

State

Gets the current state of the port

View Source
Declaration
public abstract bool State { get; }

Resistor

Gets or sets the internal resistor mode of the port

View Source
Declaration
public abstract ResistorMode Resistor { get; set; }

Implements