read
Read data from I2C device
Description
returns data from the I2C device as a row vector.data = read(myi2cdevice,count)
The read method stops when it finishes reading the specified
data from the device, or when the timeout period elapses.
returns data from the I2C device as a row vector and specifies precision.data = read(myi2cdevice,count,dataPrecision)
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
