Skip to main content

Class Pca9671.PinDefinitions

Pin definitions for 8 pin MCP IO expanders

Assembly: Pca9671.dll
View Source
public class Pca9671.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; }

R00

Pin R0

View Source
public IPin R00 { get; }

R01

Pin R01

View Source
public IPin R01 { get; }

R02

Pin R02

View Source
public IPin R02 { get; }

R03

Pin R03

View Source
public IPin R03 { get; }

R04

Pin R04

View Source
public IPin R04 { get; }

R05

Pin R05

View Source
public IPin R05 { get; }

R06

Pin R06

View Source
public IPin R06 { get; }

R07

Pin R07

View Source
public IPin R07 { get; }

R08

Pin R08

View Source
public IPin R08 { get; }

R09

Pin R09

View Source
public IPin R09 { get; }

R10

Pin R10

View Source
public IPin R10 { get; }

R11

Pin R11

View Source
public IPin R11 { get; }

R12

Pin R12

View Source
public IPin R12 { get; }

R13

Pin R13

View Source
public IPin R13 { get; }

R14

Pin R14

View Source
public IPin R14 { get; }

R15

Pin R15

View Source
public IPin R15 { get; }

Methods

InitAllPins()

Initalize 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