0

What Java library should I use to control raspberry pi 4b, Pi4J does not support rpi4. Wiringpi is deprecated. I tried searching for others b ut cannot find anything, how to control gpio with java in 2020?

0

Different possibilities...

1
  • There is a new version V1.3 of Pi4J available which includes a script to update WiringPi to an "unofficial" fork which is fully Pi 4 compatible! See pi4j.com/1.3/dependency.html – Frank Feb 2 at 14:29
0

I can confirm that diozero (now at https://github.diozero.com/) works with all flavours of Raspberry Pi, including Pi4 and Compute Module 4 (as well as many other SBCs), as well as both 32-bit and 64-bit operating systems (RaspiOS and Ubuntu).

New contributor
Matthew Lewis is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.