Skip to main content

Class Mcp3204.PinDefinitions

Mcp3004 pin definition class

Assembly: Mcp3xxx.dll
View Source
public class Mcp3204.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
public virtual byte ADCPrecisionBits { get; }

AllPins

Collection of pins

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

Controller

Gets or sets the IPinController associated with the IPins

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

CH0

Pin CH0

View Source
public IPin CH0 { get; }

CH1

Pin CH1

View Source
public IPin CH1 { get; }

CH2

Pin CH2

View Source
public IPin CH2 { get; }

CH3

Pin CH3

View Source
public IPin CH3 { get; }

Methods

InitAllPins()

Pin Initialize all serial wombat pins

View Source
protected void InitAllPins()

GetEnumerator()

Get Enumerator

View Source
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