readRegister
Read from register on I2C device
Description
[
returns data from the register on the I2C device as a scalar.value] = readRegister(myi2cdevice,register,dataPrecision)
The readRegister method stops when it finishes reading the
specified data from the register, or when the timeout period elapses.
Note
To generate C/C++ code for this function, you must have an Embedded Coder® license.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2016b
