pi4j and raspberry PI4
Hello, trying to use it on the raspberry PI4 with serial port.
so I downloaded 1.2 version - unable to detect hardware
1.3 snapshot - unable to detect hardware
1.4 snapshot - not compiling, wrong gpiocontroller class
2.0 snapshot - no gpiocontroller class at all
question - how work with pi4j on the raspberry PI4 ?
com.pi4j.io.gpio.exception.UnsupportedBoardType: Unsupported/unknown board type; unable to detect hardware.
@AMV007 have you resolved your problem maybe? I have the same issue..
FDelporte last edited by
@AMV007 for V1 of Pi4J on the Raspberry Pi, make sure to update WiringPi to version 2.52 as that is the underlying framework used to "talk" to the GPIOs, see http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/ for installation instructions
V2 of Pi4J is work in progress, but documentation is available, with a minimal example project on https://v2.pi4j.com/getting-started/minimal-example-application
I hope this helps to solve your problem!