there's a Beta version http://gigabrain.io/twoplayer.html of a two player game that runs with Spring Boot and Pi4J. To get the GPIO write access the boot app will have to be run with GPIO write rights.
Currently the install script launches the java app with sudo command, and the app checks rights to /dev/mem and this needs to be changed not to require the sudo.
The Pi4J 1.2 SNAPSHOT is currently used. There was a post about the http://wiringpi.com/wiringpi-update-to-2-29/
Should only this environment variable be enough for this setup? Has anyone made a Pi4J setup to use the /dev/gpiomem access with wiringpi?
Code: Select all