public class GpioInputAllExample extends Object
| Constructor and Description |
|---|
GpioInputAllExample() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
[ARGUMENT/OPTION "--pull (up|down|off)" | "-l (up|down|off)" | "--up" | "--down" ]
This example program accepts an optional argument for specifying pin pull resistance.
|
public static void main(String[] args) throws InterruptedException, PlatformAlreadyAssignedException
args - InterruptedExceptionPlatformAlreadyAssignedExceptionCopyright © 2012–2018 Pi4J. All rights reserved.