Skip to content

The first release of the totally renewed Pi4J V2

Compare
Choose a tag to compare
@FDelporte FDelporte released this 26 Aug 08:50
· 1 commit to main since this release
2.0

Yoohoo it's here! After a lot of work we present you the totally renewed Pi4J library!

For the full documentation, please check https://pi4j.com/

Most important info on V2:

  • Java 11 and up
  • Breaking change with V1 as the framework has been completely rearchitected (see https://pi4j.com/architecture/)
  • No longer include support for peripheral devices and add-on chipsets/boards as part of the core project
  • Easier to extend, maintain and test
  • Uses PiGpio as the native library (WiringPi which was used in V1 got deprecated in 2019)
  • Builds as modules to fully support future evolutions in Java
  • Uses minimal dependencies (only SLF4J)
  • Different examples how to get started (also with JavaFX) are available on https://pi4j.com/getting-started/
  • And more as described on https://pi4j.com/about/new-in-v2/