Pi4J
sits on top of WiringPi
, a standard Python library for accessing GPIO pins. It was written for BCM devices which is not likely what you are developing on :)
Since it is NOT safe to install WiringPi
on most devices, the application must be deployed and ran directly on the Pi for active development.
- Run
./gradlew build && rsync -avzhe ssh ./build/libs/pi-naut-*-all.jar [email protected]:pi-naut.jar
ssh [email protected]
into your Pi, and runjava -jar pi-naut.jar -verbose