Skip to main content

Interface IPinDefinitions

Contract for device pin lists.

Assembly: Meadow.Contracts.dll
View Source
public interface IPinDefinitions : IEnumerable<IPin>, IEnumerable

Properties

AllPins

Convenience property which contains all the pins available on the device.

View Source
IList<IPin> AllPins { get; }

this[string]

Retrieves a pin from Meadow.Hardware.IPinDefinitions.AllPins by Name or Key

View Source
IPin this[string name] { get; }

Controller

Gets or sets the IPinController associated with the IPins

View Source
IPinController? Controller { get; set; }

Extension Methods

  • System.Collections.Generic.IEnumerable{Meadow.Hardware.IPin}.Meadow.ExtensionMethods.Contains``1(Meadow.Hardware.IPin[])
  • System.Collections.Generic.IEnumerable{Meadow.Hardware.IPin}.Meadow.ExtensionMethods.FirstIndexOf``1(Meadow.Hardware.IPin[])