Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pi5 and gpiod #11

Open
edouardouvrard opened this issue Jun 21, 2024 · 8 comments
Open

Pi5 and gpiod #11

edouardouvrard opened this issue Jun 21, 2024 · 8 comments

Comments

@edouardouvrard
Copy link

Pi4j doesn't load gpiod when used with this dependencies :

implementation("com.pi4j:pi4j-ktx:2.4.0")
implementation("com.pi4j:pi4j-core:2.6.0")
implementation("com.pi4j:pi4j-plugin-raspberrypi:2.6.0")
implementation("com.pi4j:pi4j-plugin-gpiod:2.6.0")
implementation("com.pi4j:pi4j-library-gpiod:2.6.0")

This seems to always try to load pigpio and tell me that it's not available.

@FDelporte
Copy link
Member

Can you try with

implementation("com.pi4j:pi4j-plugin-gpiod:2.6.0")

@FDelporte
Copy link
Member

@edouardouvrard
Copy link
Author

I have this in my dependencies

@FDelporte
Copy link
Member

In your original question, you listed com.pi4j:pi4j-library-gpiod:2.6.0 but not com.pi4j:pi4j-plugin-gpiod:2.6.0

@edouardouvrard
Copy link
Author

I have these 2 dependencies in my original question :

implementation("com.pi4j:pi4j-plugin-gpiod:2.6.0")
implementation("com.pi4j:pi4j-library-gpiod:2.6.0")

@FDelporte
Copy link
Member

Ah, correct. Sorry, my mistake. Actually, only the plugin is needed as it includes the library, but I doubt this will be the cause. Can you share more log output to understand what could be going wrong?

@mirage22 is this similar to what you were talking about in Slack?

@neuberfran
Copy link

@FDelporte Pls give me Slack address for pi4j v2 kotlin

@FDelporte
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants