Skip to main content

Class SerialWombatBase.PinDefinitions

Serial Wombat pin definition class

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

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

Properties

AllPins

Collection of pins

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

Controller

The pin controller

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

WP0

Pin WP0

View Source
Declaration
public IPin WP0 { get; }

WP1

Pin WP1

View Source
Declaration
public IPin WP1 { get; }

WP2

Pin WP2

View Source
Declaration
public IPin WP2 { get; }

WP5

Pin WP5

View Source
Declaration
public IPin WP5 { get; }

WP6

Pin WP6

View Source
Declaration
public IPin WP6 { get; }

WP7

Pin WP7

View Source
Declaration
public IPin WP7 { get; }

WP8

Pin WP8

View Source
Declaration
public IPin WP8 { get; }

WP9

Pin WP9

View Source
Declaration
public IPin WP9 { get; }

WP10

Pin WP10

View Source
Declaration
public IPin WP10 { get; }

WP11

Pin WP11

View Source
Declaration
public IPin WP11 { get; }

WP12

Pin WP12

View Source
Declaration
public IPin WP12 { get; }

WP13

Pin WP13

View Source
Declaration
public IPin WP13 { get; }

WP14

Pin WP14

View Source
Declaration
public IPin WP14 { get; }

WP15

Pin WP15

View Source
Declaration
public IPin WP15 { get; }

WP16

Pin WP16

View Source
Declaration
public IPin WP16 { get; }

WP17

Pin WP17

View Source
Declaration
public IPin WP17 { get; }

WP18

Pin WP18

View Source
Declaration
public IPin WP18 { get; }

WP19

Pin WP19

View Source
Declaration
public IPin WP19 { get; }

Fields

ADCPrecisionBits

Analog-digital converter precision

View Source
Declaration
public const int ADCPrecisionBits = 12

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