public static interface Gpio.AnalogInParameterBuilder
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commit the read parameters to the board
|
Gpio.AnalogInParameterBuilder |
delay(short delay)
Sets how long to wait before reading from the pin.
|
Gpio.AnalogInParameterBuilder |
pullDownPin(byte pin)
Sets the GPIO pin that will be pulled down before the read.
|
Gpio.AnalogInParameterBuilder |
pullUpPin(byte pin)
Sets the GPIO pin that will be pulled up before the read.
|
Gpio.AnalogInParameterBuilder |
silent(boolean silent)
Sets silent mode.
|
Gpio.AnalogInParameterBuilder |
virtualPin(byte pin)
GPIO pin the returned data identifies as.
|
Gpio.AnalogInParameterBuilder pullUpPin(byte pin)
pin
- Pullup pinGpio.AnalogInParameterBuilder pullDownPin(byte pin)
pin
- Pulldown pinGpio.AnalogInParameterBuilder delay(short delay)
delay
- Delay time, in microseconds (μs)Gpio.AnalogInParameterBuilder virtualPin(byte pin)
Gpio.readAnalogIn(byte, AnalogReadMode)
and Gpio.readAnalogIn(byte, AnalogReadMode, boolean)
when constructing a data route for analog data.pin
- Virtual pin identifying the dataGpio.AnalogInParameterBuilder silent(boolean silent)
Gpio.readAnalogIn(byte, AnalogReadMode, boolean)
.silent
- True if read should be silentvoid commit()