I2C interface to a device.
Direct I2C communication to the device will be performed using the i2c-dev API.
To avoid race conditions and conflicts, no device driver should be bound to the device.
Name | Required | Type | Description |
---|---|---|---|
bus | yes | number | I2C bus number of the device. The first bus is 0. |
address | yes | string | 7-bit I2C address of the device expressed in hexadecimal. Must be prefixed with 0x and surrounded by double quotes. |
{
"bus": 1,
"address": "0x70"
}