Skip to main content

Interface IPinDefinitions

Contract for device pin lists.

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

Properties

AllPins

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

View Source
Declaration
IList<IPin> AllPins { get; }

this[string]

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

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

Controller

Gets or sets the IPinController associated with the IPins

View Source
Declaration
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[])