Skip to main content

Class Mcp4728.PinDefinitions

Represents the pin definitions for the MCP4728 DAC.

Assembly: Mcp4728.dll
View Source
Declaration
public class Mcp4728.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

The pin controller

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

ChannelA

Channel A pin

View Source
Declaration
public IPin ChannelA { get; }

ChannelB

Channel B pin

View Source
Declaration
public IPin ChannelB { get; }

ChannelC

Channel C pin

View Source
Declaration
public IPin ChannelC { get; }

ChannelD

Channel D pin

View Source
Declaration
public IPin ChannelD { 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