MetaWear C# SDK
1.2.0
C# API for MbientLab's sensor platform
|
Physical GPIO pin on the board More...
Public Member Functions | |
void | SetChangeType (PinChangeType type) |
Set the pin change type to look for More... | |
void | SetPullMode (PullMode mode) |
Set the pin pull mode More... | |
void | ClearOutput () |
Clear the pin's output voltage i.e. logical low More... | |
void | SetOutput () |
Set the pin's output voltage i.e. logical high More... | |
IVirtualPin | CreateVirtualPin (byte pin) |
Creates a virtual pin More... | |
Properties | |
IAnalogDataProducer | Adc [get] |
Data producer representing analog ADC data. Not all pins support analog inputs, property is null is unsupported More... | |
IAnalogDataProducer | AbsoluteReference [get] |
Data producer representing absolute reference data. Not all pins support analog inputs, property is null is unsupported More... | |
IForcedDataProducer | Digital [get] |
Data producer representing digital data More... | |
IAsyncDataProducer | Monitor [get] |
Data producer representing pin monitoring data More... | |
Physical GPIO pin on the board
void MbientLab.MetaWear.Peripheral.Gpio.IPin.ClearOutput | ( | ) |
Clear the pin's output voltage i.e. logical low
IVirtualPin MbientLab.MetaWear.Peripheral.Gpio.IPin.CreateVirtualPin | ( | byte | pin | ) |
Creates a virtual pin
pin | Pin number to associate the virtual pin with, between [Pins.Length, 254] |
void MbientLab.MetaWear.Peripheral.Gpio.IPin.SetChangeType | ( | PinChangeType | type | ) |
Set the pin change type to look for
type | New pin change type |
void MbientLab.MetaWear.Peripheral.Gpio.IPin.SetOutput | ( | ) |
Set the pin's output voltage i.e. logical high
void MbientLab.MetaWear.Peripheral.Gpio.IPin.SetPullMode | ( | PullMode | mode | ) |
Set the pin pull mode
mode | New pull mode |
|
get |
Data producer representing absolute reference data. Not all pins support analog inputs, property is null is unsupported
|
get |
Data producer representing analog ADC data. Not all pins support analog inputs, property is null is unsupported
|
get |
Data producer representing digital data
|
get |
Data producer representing pin monitoring data