-
|
I'm heavily confused about the latest provider concept for Raspberry 5. I want to access the Gpio and the I2C bus on a Raspberry 5. And at beginning of supporting Raspberry 5 with version 2.5.0 just one single provider is allowed to be loaded. I am correct that pi4j actually not support the usage of Gpio and Bus-systems on Raspberry 5 at the same time?!?! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
The change was a single provider for an IO_TYPE. Prior to this you could load pigpio AND linuxfs-i2c both with an I2C provider. In your example you can add to your pom file linuxfs for i2c and gpiod for gpio pins. Does that explain the present implementation? |
Beta Was this translation helpful? Give feedback.
-
|
We have a documentation page about FAT JARs, maybe this can help? |
Beta Was this translation helpful? Give feedback.
-
|
Sorry for hijacking this post but I'm facing similar issues using GPIO and i2c at the same time. I know I'm asking for much but if anyone could provide a simple hint on how to do this, that would be amazing. I somehow seem to have trouble combining this. |
Beta Was this translation helpful? Give feedback.






The change was a single provider for an IO_TYPE. Prior to this you could load pigpio AND linuxfs-i2c both with an I2C provider. In your example you can add to your pom file linuxfs for i2c and gpiod for gpio pins. Does that explain the present implementation?