public class GpioListenAllExample extends Object
Constructor and Description |
---|
GpioListenAllExample() |
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
- InterruptedException
PlatformAlreadyAssignedException
Copyright © 2012–2016 Pi4J. All rights reserved.