Uses of Class
com.diozero.api.I2CDevice.Builder
Package | Description |
---|---|
com.diozero.api |
APIs for interfacing with the host board.
|
-
Uses of I2CDevice.Builder in com.diozero.api
Methods in com.diozero.api that return I2CDevice.Builder Modifier and Type Method Description static I2CDevice.Builder
I2CDevice. builder(int address)
Builder class for I2C devicesI2CDevice.Builder
I2CDevice.Builder. setAddress(int address)
Set the I2c device addressI2CDevice.Builder
I2CDevice.Builder. setAddressSize(I2CConstants.AddressSize addressSize)
Set the I2C deviceaddress size
I2CDevice.Builder
I2CDevice.Builder. setByteOrder(ByteOrder byteOrder)
Set the Defaultbyte order
for this deviceI2CDevice.Builder
I2CDevice.Builder. setController(int controller)
Set the I2C bus controllerI2CDevice.Builder
I2CDevice.Builder. setFactory(I2CDeviceFactoryInterface factory)
Set the I2C device factory to use for provisioning I2C device instances