Skip to main content

Interface IPin

Contract for a pin

Assembly: Meadow.Contracts.dll
View Source
Declaration
public interface IPin : IEquatable<IPin>

Properties

Controller

The IPinController associated with this IPin

View Source
Declaration
IPinController? Controller { get; }

SupportedChannels

Supported channels

View Source
Declaration
IList<IChannelInfo>? SupportedChannels { get; }

Name

The name of the pin

View Source
Declaration
string Name { get; }

Key

The key object for the pin

View Source
Declaration
object Key { get; }

Methods

ToString()

To string

View Source
Declaration
string ToString()
Returns

System.String: The pin name## Extension Methods

  • Meadow.Hardware.IPin.Meadow.IPinExtensions.CreateAnalogInputPort(System.Int32)
  • Meadow.Hardware.IPin.Meadow.IPinExtensions.CreateAnalogInputPort(System.Int32,System.TimeSpan,Meadow.Units.Voltage)
  • Meadow.IPinExtensions.CreateAnalogOutputPort(Meadow.Hardware.IPin)
  • Meadow.Hardware.IPin.Meadow.IPinExtensions.CreateBiDirectionalPort(System.Boolean,Meadow.Hardware.InterruptMode,Meadow.Hardware.ResistorMode,Meadow.Hardware.PortDirectionType)
  • Meadow.Hardware.IPin.Meadow.IPinExtensions.CreateBiDirectionalPort(System.Boolean,Meadow.Hardware.InterruptMode,Meadow.Hardware.ResistorMode,Meadow.Hardware.PortDirectionType,System.TimeSpan,System.TimeSpan)
  • Meadow.Hardware.IPin.Meadow.IPinExtensions.CreateDigitalInputPort(Meadow.Hardware.ResistorMode)
  • Meadow.Hardware.IPin.Meadow.IPinExtensions.CreateDigitalInterruptPort(Meadow.Hardware.InterruptMode,Meadow.Hardware.ResistorMode)
  • Meadow.Hardware.IPin.Meadow.IPinExtensions.CreateDigitalInterruptPort(Meadow.Hardware.InterruptMode,Meadow.Hardware.ResistorMode,System.TimeSpan,System.TimeSpan)
  • Meadow.Hardware.IPin.Meadow.IPinExtensions.CreateDigitalOutputPort(System.Boolean)
  • Meadow.Hardware.IPin.Meadow.IPinExtensions.CreatePwmPort(Meadow.Units.Frequency,System.Single,System.Boolean)
  • Meadow.Hardware.IPin.Meadow.IPinExtensions.Supports``1
  • Meadow.Hardware.IPin.Meadow.IPinExtensions.Supports``1(System.Func{{TChannel},System.Boolean})