Skip to main content

Namespace Meadow.Foundation

Classes

ArrayEventArgs

Custom event args that stores an int and an object

ByteCommsSensorBase<UNIT>

ByteCommsSensorBase abstract class

Converters

Provide a mechanism to convert from on type to another .NET type

DeviceConfigurationException

Exception thrown when a device or peripheral is misconfigured for a requested action, activity or behavior.

I2cCommunications

Helper class for I2C communications, handles registers, endian, etc.

NumericExtensions

A static class that provides numeric helper extension methods

ObservableBase<UNIT>

Provides observable functionality.

Keeps an internal collection of observers, and provides methods such as NotifyObservers and Subscribe.

PollingSensorBase<UNIT>

Base class that represents a sampling sensor to support the observable pattern

SamplingSensorBase<UNIT>

Base class for sensors and other updating classes that want to support having their updates consumed by observers that can optionally use filters

SpiCommunications

Helper class for SPI communications, handles registers, endian, etc. This encapsulates and synchronizes the SPI bus and chip select ports

WildernessLabsColors

Enums

CircuitTerminationType

Whether the circuit is terminated into the common/ground or a high (3.3V) voltage source. Used to determine whether to pull the resistor wired to the switch sensor high or low to close the circuit when the switch is closed.

To disable the resistor, set to Floating.

Delegates

ArrayEventHandler

Array event handler