Skip to main content

Class SerialWombatBase.PinDefinitions

Serial Wombat pin definition class

Assembly: SerialWombat.dll
View Source
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
public IList<IPin> AllPins { get; }

Controller

The pin controller

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

WP0

Pin WP0

View Source
public IPin WP0 { get; }

WP1

Pin WP1

View Source
public IPin WP1 { get; }

WP2

Pin WP2

View Source
public IPin WP2 { get; }

WP5

Pin WP5

View Source
public IPin WP5 { get; }

WP6

Pin WP6

View Source
public IPin WP6 { get; }

WP7

Pin WP7

View Source
public IPin WP7 { get; }

WP8

Pin WP8

View Source
public IPin WP8 { get; }

WP9

Pin WP9

View Source
public IPin WP9 { get; }

WP10

Pin WP10

View Source
public IPin WP10 { get; }

WP11

Pin WP11

View Source
public IPin WP11 { get; }

WP12

Pin WP12

View Source
public IPin WP12 { get; }

WP13

Pin WP13

View Source
public IPin WP13 { get; }

WP14

Pin WP14

View Source
public IPin WP14 { get; }

WP15

Pin WP15

View Source
public IPin WP15 { get; }

WP16

Pin WP16

View Source
public IPin WP16 { get; }

WP17

Pin WP17

View Source
public IPin WP17 { get; }

WP18

Pin WP18

View Source
public IPin WP18 { get; }

WP19

Pin WP19

View Source
public IPin WP19 { get; }

Fields

ADCPrecisionBits

Analog-digital converter precision

View Source
public const int ADCPrecisionBits = 12

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