Open nomisRev opened 6 months ago
In your pom.xml have you removed the dependences pigpio If that is present those old providers will be present rather than your required gpiod
Hey @taartspi,
Yes, I replaced the pigpio
with gpiod
.
Here is my dependency list:
dependencies {
api("org.slf4j:slf4j-api:2.0.12")
api("org.slf4j:slf4j-simple:2.0.12")
api("com.pi4j:pi4j-core:2.5.1")
api("com.pi4j:pi4j-plugin-raspberrypi:2.5.1")
api("com.pi4j:pi4j-library-gpiod:2.5.1")
api("com.pi4j:pi4j-plugin-gpiod:2.5.1")
}
Here is my full Gradle build file.
Thank you for reaching out so quickly.
are you still hitting the provider not found error ? If yes see https://github.com/Pi4J/pi4j-v2/discussions/126 Maybe its information can assist.
Hey all,
Sorry to open an issue for this, but I am stuck trying to get a DHT22 to work on a Raspberry PI 5. Afaik as I understand, it should work in 2.5.1, but I am always running into a "provider" issue.
I am using Kotlin & Gradle, so all the examples on the website were not entirely clear to me but I'd be happy to contribute if we come to a conclusion. I.e. there is no section on fatJar with Gradle, which I achieved through the Gradle shadow plugin.
My example PI5J. I am on the latest Pi5 OS, and am not seeing the
java.lang.UnsatisfiedLinkError
but instead I am getting:Any ideas, or suggestions?
Thanks in advance!