Read I2C device information.
Read standard I2C device information: version, vendor, and device ID. The I2C device uses the specified address.
|port||The port to which the I2C device is attached. See the Input port constants group. You may use a constant or a variable. Constants should be used where possible to avoid blocking access to I2C devices on other ports by code running on other threads. |
|i2caddr||The I2C device address. |
|info||A value indicating the type of device information you are requesting. See Standard I2C constants. |
- A string containing the requested device information.