1*d1312fcaSShawn McCarney# i2c_interface 2*d1312fcaSShawn McCarney 3*d1312fcaSShawn McCarney## Description 4*d1312fcaSShawn McCarney 5*d1312fcaSShawn McCarneyI2C interface to a device. 6*d1312fcaSShawn McCarney 7*d1312fcaSShawn McCarney## Properties 8*d1312fcaSShawn McCarney 9*d1312fcaSShawn McCarney| Name | Required | Type | Description | 10*d1312fcaSShawn McCarney| :------ | :------: | :----- | :------------------------------------------------------------------------------------------------------------------ | 11*d1312fcaSShawn McCarney| bus | yes | number | I2C bus number of the device. The first bus is 0. | 12*d1312fcaSShawn McCarney| address | yes | string | 7-bit I2C address of the device expressed in hexadecimal. Must be prefixed with 0x and surrounded by double quotes. | 13*d1312fcaSShawn McCarney 14*d1312fcaSShawn McCarney## Example 15*d1312fcaSShawn McCarney 16*d1312fcaSShawn McCarney```json 17*d1312fcaSShawn McCarney{ 18*d1312fcaSShawn McCarney "bus": 1, 19*d1312fcaSShawn McCarney "address": "0x70" 20*d1312fcaSShawn McCarney} 21*d1312fcaSShawn McCarney``` 22