MetaWear C# SDK  1.2.0
C# API for MbientLab's sensor platform
Public Member Functions | List of all members
MbientLab.MetaWear.Peripheral.Gpio.IAnalogDataProducer Interface Reference

Data producer representing analog data from a gpio pin More...

Inheritance diagram for MbientLab.MetaWear.Peripheral.Gpio.IAnalogDataProducer:
MbientLab.MetaWear.IForcedDataProducer MbientLab.MetaWear.IDataProducer

Public Member Functions

void Read (byte pullup=0xff, byte pulldown=0xff, ushort delay=0)
 Issues a read command to the analog pin More...
 
- Public Member Functions inherited from MbientLab.MetaWear.IForcedDataProducer
void Read ()
 Sends a read command to the producer More...
 
- Public Member Functions inherited from MbientLab.MetaWear.IDataProducer
Task< IRouteAddRouteAsync (Action< IRouteComponent > builder)
 Adds a data route to the producer More...
 

Detailed Description

Data producer representing analog data from a gpio pin

Member Function Documentation

◆ Read()

void MbientLab.MetaWear.Peripheral.Gpio.IAnalogDataProducer.Read ( byte  pullup = 0xff,
byte  pulldown = 0xff,
ushort  delay = 0 
)

Issues a read command to the analog pin

Parameters
pullupPin to be pulled up before the read, unused by default
pulldownPin to be pulled down before the read, unused by default
delayHow long to wait before reading from the pin, no delay by default

The documentation for this interface was generated from the following file: