Skip to content

a bundle for using the I2C function of Pi4J 1.2 in Java8 / OSGi environment

Notifications You must be signed in to change notification settings

s5uishida/pi4j-core-osgi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

pi4j-core-osgi

This repository contains a bundle with the following line added to MANIFEST.MF to use the I2C function of Pi4J 1.2 (pi4j-core.jar) in Java 8 / OSGi environment.

Import-Package: sun.misc;resolution:=optional

Note. To use Pi4J 1.2's I2C functionality, sun.misc.SharedSecrets.class is required, but this class can only be used up to Java 8 and cannot be used since Java 9.

I would like to thank the authors of this very useful Pi4J code, and all the contributors.

About

a bundle for using the I2C function of Pi4J 1.2 in Java8 / OSGi environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published