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

Does Pi4J support the new PI 5? #317

Closed
ceesgroot opened this issue Jan 25, 2024 · 6 comments
Closed

Does Pi4J support the new PI 5? #317

ceesgroot opened this issue Jan 25, 2024 · 6 comments
Labels
duplicate This issue or pull request already exists

Comments

@ceesgroot
Copy link

Hi there. Just go my new PI 5 and I am wondering if PI4J supports it?

@eitch
Copy link
Member

eitch commented Jan 25, 2024

Hi @ceesgroot
Pi4j does not yet work on the Pi 5. We are working on it, but it isn't so simple. Keep tabs on this repository for a new version, or subscribe to our social media outlets.

@ceesgroot
Copy link
Author

Hi @eitch
Thanks for your prompt answer. My BME280 sensor is working on I2C. The issue seems to be with my MAX7219 display on the SPI interface. I will check the repo now then.

@eitch
Copy link
Member

eitch commented Jan 25, 2024

Hi @ceesgroot
I just saw your message. I just did a test with the linuxfs library, which has gpio working, if i see it correctly. I wasn't able to test it properly, since i have nothing hooked up, but the code runs fine.

I'm happy to hear I2C is working. Is this with the linuxfs plugin?

SPI is a pigpio plugin, so that probably won't be working anytime soon, as this library hasn't had any updates in 3 years. Maybe we'll find a solution...

@alex9849 is helping us out here using libgpiod

@ceesgroot
Copy link
Author

hi @eitch
I2C was indeed with the linuxfs (2.4.0) plugin. Good luck finding a solution. Please let me know if you want me to do some beta testing.

@ceesgroot
Copy link
Author

Hi @eitch
Small update. I tried to light a led on my PI 5 with linuxfs, but although the code ran fine, it didn't come up. I ordered and got a PI 4 in the mean time and the same config and code ran fine there.
I will send the PI 5 back to the shop and move on with the PI 4 for now. Will check the blog every once in a while and probably order a new PI 5 when the library is working.
Thanks for your support for now. BR, Cees

@FDelporte
Copy link
Member

See #321

@FDelporte FDelporte added the duplicate This issue or pull request already exists label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants