public static interface Gpio.Pin
Modifier and Type | Method and Description |
---|---|
Gpio.Analog |
analogAbsRef()
Get an implementation of the Analog interface for analog reference voltage data, represented
as a float with units of volts (V).
|
Gpio.Analog |
analogAdc()
Get an implementation of the Analog interface for ADC data, represented as a short
|
void |
clearOutput()
Clear the pin's output voltage i.e.
|
ForcedDataProducer |
digital()
Get an implementation of the ForcedDataProducer interface for digital data, represented as a byte
|
boolean |
isVirtual()
Checks if the pin is a virtual pin
|
AsyncDataProducer |
monitor()
Get an implementation of the AsyncDataProducer interface for the pin monitoring data, represented as a byte
|
void |
setChangeType(Gpio.PinChangeType type)
Set the pin change type to look for
|
void |
setOutput()
Set the pin's output voltage i.e.
|
void |
setPullMode(Gpio.PullMode mode)
Set the pin's pull mode
|
boolean isVirtual()
void setChangeType(Gpio.PinChangeType type)
type
- New pin change typevoid setPullMode(Gpio.PullMode mode)
mode
- New pull modevoid clearOutput()
void setOutput()
Gpio.Analog analogAdc()
Gpio.Analog analogAbsRef()
ForcedDataProducer digital()
AsyncDataProducer monitor()