Skip to main content

Class Mcp4921.PinDefinitions

Represents the pin definitions for the MCP4921 DAC.

Assembly: Mcp492x.dll​
View Source​
Declaration
public class Mcp4921.PinDefinitions : IPinDefinitions, IEnumerable<IPin>, IEnumerable

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

Properties​

DACPrecisionBits​

Analog-digital converter precision

View Source​
Declaration
public virtual byte DACPrecisionBits { 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; }

ChannelA​

Channel A pin

View Source​
Declaration
public IPin ChannelA { get; }

Methods​

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