Main Content
read
Read data from I2C device
Add-On Required: This feature requires the MATLAB Support Package for Raspberry Pi Hardware add-on.
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
)