MetaWear C# SDK
1.2.0
C# API for MbientLab's sensor platform
|
Data producer representing analog data from a gpio pin More...
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< IRoute > | AddRouteAsync (Action< IRouteComponent > builder) |
Adds a data route to the producer More... | |
Data producer representing analog data from a gpio pin
void MbientLab.MetaWear.Peripheral.Gpio.IAnalogDataProducer.Read | ( | byte | pullup = 0xff , |
byte | pulldown = 0xff , |
||
ushort | delay = 0 |
||
) |
Issues a read command to the analog pin
pullup | Pin to be pulled up before the read, unused by default |
pulldown | Pin to be pulled down before the read, unused by default |
delay | How long to wait before reading from the pin, no delay by default |