cork.net.i2c
Interface I2CDevice
- All Superinterfaces:
- Device
- All Known Subinterfaces:
- I2CSlave
- All Known Implementing Classes:
- AbstractI2CDevice
- public interface I2CDevice
- extends Device
All I2C devices should implement this interface.
- Version:
- 0.2.1
- Author:
- Brill Pappin
getDeviceAddress
public int getDeviceAddress()
- Gets the I2C device address for this device.
The address is an array to support multi-byte addresses. which are not
implemented at this time.
- Returns:
- int the device address.
- Since:
- 0.1.0
getBusMaster
public I2CBusMaster getBusMaster()
- Gets the bus master this device is using.
- Returns:
- The busMaster value
- Since:
- 0.1.0