public static interface Gpio.Analog extends ForcedDataProducer
| Modifier and Type | Method and Description |
|---|---|
void |
read(byte pullup,
byte pulldown,
short delay,
byte virtual)
Variant of the
ForcedDataProducer.read() function that provides finer control of the analog read operation |
readaddRouteAsync, namevoid read(byte pullup,
byte pulldown,
short delay,
byte virtual)
ForcedDataProducer.read() function that provides finer control of the analog read operationpullup - Pin to be pulled up before the read, set to Gpio.UNUSED_READ_PIN if not usedpulldown - Pin to be pulled down before the read, set to Gpio.UNUSED_READ_PIN if not useddelay - How long to wait before reading from the pin, in microseconds, set to Gpio.UNUSED_READ_DELAY if not usedvirtual - Pin number the data will identify as, set to Gpio.UNUSED_READ_PIN if not used. Objects representing virtual
pins are created with Gpio.getVirtualPin(byte)