Class I2C
java.lang.Object
javaforce.pi.I2C
I2C.
Provides access to read/write data on the I2C bus.
- Author:
- pquiring
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic I2Cinti2cRead(byte[] data) booleani2cSetSlave(int addr) booleani2cSetup()booleani2cWrite(byte[] data)
-
Constructor Details
-
I2C
-
-
Method Details
-
getInstance
-
i2cSetup
public boolean i2cSetup() -
i2cSetSlave
public boolean i2cSetSlave(int addr) -
i2cWrite
public boolean i2cWrite(byte[] data) -
i2cRead
public int i2cRead(byte[] data)
-