Skip to main content

Class Pcx8574.PinDefinitions

Pin definitions for 8 pin MCP IO expanders

Assembly: Pcx857x.dll
View Source
public class Pcx8574.PinDefinitions : IPinDefinitions, IEnumerable<IPin>, IEnumerable

Implements:
Meadow.Hardware.IPinDefinitions, System.Collections.Generic.IEnumerable<Meadow.Hardware.IPin>, System.Collections.IEnumerable

Properties

Controller

The controller for the pins

View Source
public IPinController? Controller { get; set; }

AllPins

List of pins

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

P0

Pin P0

View Source
public IPin P0 { get; }

P1

Pin P1

View Source
public IPin P1 { get; }

P2

Pin P2

View Source
public IPin P2 { get; }

P3

Pin P3

View Source
public IPin P3 { get; }

P4

Pin P4

View Source
public IPin P4 { get; }

P5

Pin P5

View Source
public IPin P5 { get; }

P6

Pin P6

View Source
public IPin P6 { get; }

P7

Pin P7

View Source
public IPin P7 { get; }

Methods

InitAllPins()

Initialize all pins

View Source
protected void InitAllPins()

GetEnumerator()

Get Pins

View Source
public IEnumerator<IPin> GetEnumerator()
Returns

System.Collections.Generic.IEnumerator<Meadow.Hardware.IPin>: IEnumerator of IPin with all pins

Implements

  • Meadow.Hardware.IPinDefinitions
  • System.Collections.Generic.IEnumerable<Meadow.Hardware.IPin>
  • System.Collections.IEnumerable