public abstract static class I2C.Callbacks extends java.lang.Object implements MetaWearController.ModuleCallbacks
Constructor and Description |
---|
I2C.Callbacks() |
Modifier and Type | Method and Description |
---|---|
Module |
getModule()
Get the module the notification represents
|
void |
receivedI2CData(byte index,
byte[] data)
Called when data is received from the I2C bus
|
public final Module getModule()
MetaWearController.ModuleCallbacks
getModule
in interface MetaWearController.ModuleCallbacks
Module
public void receivedI2CData(byte index, byte[] data)
index
- User defined index identifying the datadata
- Data received from the bus