Use Pi4J instead of pigpio