Skip to main content

Class DigitalInputPortBase

Provides a base implementation for digital input ports.

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

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

Derived:
Meadow.Hardware.DigitalInputPort, Meadow.Hardware.DigitalInterruptPortBase

Implements:
Meadow.Hardware.IDigitalInputPort, Meadow.Hardware.IDigitalPort, Meadow.Hardware.IPort<C>, System.IDisposable

Properties

State

Gets the current state of the port

View Source
public abstract bool State { get; }

Resistor

Gets or sets the internal resistor mode of the port

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

Implements