Main Content
readRegister
Read data from I2C device register
Syntax
Description
returns data read from the device register of I2C device, specified as a device
object.outdatai2c
= readregister(i2cdevObj
,registerAddress
)
returns data read from the device register of I2C device, specified as a device object,
based on the data precision.outdatai2c
= readregister(i2cdevObj
,registerAddress
, precision
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2017b