Skip to content

Releases: mk868/lib-jgpio

1.1.0

07 Nov 21:09
2c39ab7
Compare
Choose a tag to compare

What's Changed

  • Update artifact name to JGPIO - groupId and artifactId remained unchanged
  • Possibility to set the output line drive mode #9 #12
    try (
        var chip = Jgpio.getInstance()
            .openChipByLabel("pinctrl-rp1");
        var gpio14 = chip.getLine("GPIO14")
            .openAsOutput(DriveMode.PUSH_PULL) // <---
    ) {
      // ...
    }
  • Lots of minor changes: test improvements, GitHub workflows, automation of processes

How to use in your project

Maven:

<dependency>
    <groupId>eu.soft-pol.lib.jgpio</groupId>
    <artifactId>jgpio</artifactId>
    <version>1.1.0</version>
</dependency>

Gradle:

implementation("eu.soft-pol.lib.jgpio:jgpio:1.1.0")

Full Changelog: v1.0.1...v1.1.0

1.0.1

27 Oct 18:34
Compare
Choose a tag to compare

What's Changed

  • Documentation has been completed

How to use in your project

Maven:

<dependency>
    <groupId>eu.soft-pol.lib.jgpio</groupId>
    <artifactId>jgpio</artifactId>
    <version>1.0.1</version>
</dependency>

Gradle:

implementation("eu.soft-pol.lib.jgpio:jgpio:1.0.1")

Full Changelog: v1.0.0...v1.0.1

1.0.0

21 Oct 15:47
Compare
Choose a tag to compare

Initial version published to Maven Central.

To try the library, simply add the following dependency to your project:

Maven:

<dependency>
    <groupId>eu.soft-pol.lib.jgpio</groupId>
    <artifactId>jgpio</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle:

implementation("eu.soft-pol.lib.jgpio:jgpio:1.0.0")

Using mvn install to compile the library is no longer needed

Features:

  • reading GPIO pin values
    • option to set bias: high impedance, pull up, pull down
  • writing GPIO pin values
  • listing information about available chips and lines