Main Content
read
Read data from I2C device
Add-On Required: This feature requires the MATLAB Support Package for BeagleBone Black Hardware add-on.
Description
returns
data from the I2C device as a row vector.data
= read(i2c
,count
,dataPrecision
)
When the read
function finishes reading
the specified data from the device, or when the timeout period elapses,
the function stops.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015a