Class NonPrivilegedGpioExample
- java.lang.Object
-
- NonPrivilegedGpioExample
-
public class NonPrivilegedGpioExample extends Object
This example code demonstrates how to use Pi4J with non-privileged access (non-root/sudo) to GPIO pins on the Raspberry Pi.- Author:
- Robert Savage
-
-
Constructor Summary
Constructors Constructor Description NonPrivilegedGpioExample()
-
-
-
Method Detail
-
main
public static void main(String[] args) throws InterruptedException
- Throws:
InterruptedException
-
-