public class I2cDeviceReader
extends java.lang.Object
| Constructor and Description |
|---|
I2cDeviceReader(I2cDevice i2cDevice,
int i2cAddress,
int memAddress,
int length)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getReadBuffer()
Get a copy of the most recent data read in from the I2C device
|
public I2cDeviceReader(I2cDevice i2cDevice, int i2cAddress, int memAddress, int length)
i2cDevice - device to monitori2cAddress - I2C address to read frommemAddress - memory address to read fromlength - length (in bytes) to read