public class GpioInputExample extends Object
| Constructor and Description |
|---|
GpioInputExample() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
[ARGUMENT/OPTION "--pin (#)" | "-p (#)" ]
This example program accepts an optional argument for specifying the GPIO pin (by number)
to use with this GPIO listener example.
|
public static void main(String[] args) throws InterruptedException, PlatformAlreadyAssignedException
args - InterruptedExceptionPlatformAlreadyAssignedExceptionCopyright © 2012–2018 Pi4J. All rights reserved.