Skip to main content

Interface IPin

Contract for a pin

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

Properties

Controller

The IPinController associated with this IPin

View Source
IPinController? Controller { get; }

SupportedChannels

Supported channels

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

Name

The name of the pin

View Source
string Name { get; }

Key

The key object for the pin

View Source
object Key { get; }

Methods

ToString()

To string

View Source
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})