public class SoftPwmExample extends Object
This example code demonstrates how to setup a software emulated PWM pin using the Odroid XU4 GPIO pins.
Constructor and Description |
---|
SoftPwmExample() |
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
- InterruptedException
PlatformAlreadyAssignedException
Copyright © 2012–2016 Pi4J. All rights reserved.