Pi4J / pi4j-v1

DEPRECATED Java I/O library for Raspberry Pi (GPIO, I2C, SPI, UART)
http://www.pi4j.com
Apache License 2.0
1.31k stars 448 forks source link

Can I use this library for other boards? #545

Closed Dhina17 closed 2 years ago

Dhina17 commented 2 years ago

I want to use this library for dragonboard410c for i2c device handling. I have seen the code. It seems generic. But still i always get UnsupportedBusNumberException.

Just want to make sure if it can be used for other boards too. This is more than enough.

Thank you.

FDelporte commented 2 years ago

Theoretically yes, but not implemented. If you look at version 2 of the library, a system of platforms and providers is included which would allow adding support for other boards than Raspberry Pi.

Raspberry Pi: https://github.com/Pi4J/pi4j-v2/tree/develop/plugins/pi4j-plugin-raspberrypi/src/main/java/com/pi4j/plugin/raspberrypi

Start of documentation is available on: https://pi4j.com/documentation/platforms/

Dhina17 commented 2 years ago

Got it. Thank you for your time.