Skip to main content

Class Mcp3004.PinDefinitions

Mcp3004 pin definition class

Assembly: Mcp3xxx.dll
View Source
Declaration
public class Mcp3004.PinDefinitions : IPinDefinitions, IEnumerable<IPin>, IEnumerable

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

Properties

ADCPrecisionBits

Analog-digital converter precision

View Source
Declaration
public virtual byte ADCPrecisionBits { get; }

AllPins

Collection of pins

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

Controller

Gets or sets the IPinController associated with the IPins

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

CH0

Pin CH0

View Source
Declaration
public IPin CH0 { get; }

CH1

Pin CH1

View Source
Declaration
public IPin CH1 { get; }

CH2

Pin CH2

View Source
Declaration
public IPin CH2 { get; }

CH3

Pin CH3

View Source
Declaration
public IPin CH3 { get; }

Methods

InitAllPins()

Pin Initialize all serial wombat pins

View Source
Declaration
protected void InitAllPins()

GetEnumerator()

Get Enumerator

View Source
Declaration
public IEnumerator<IPin> GetEnumerator()
Returns

System.Collections.Generic.IEnumerator<Meadow.Hardware.IPin>

Implements

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