public class I2CInterface { private static native int i2cwrite(byte[] data); private static native byte[] i2cread(int data_len); public static int write(byte[] data) { return(i2cwrite(data)); } public static byte[] read(int data_len) { return(i2cread(data_len)); } static { System.loadLibrary("i2cinterface"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)