readRegister
Read from register on I2C device
Add-On Required: This feature requires the MATLAB Support Package for BeagleBone Black Hardware add-on.
Description
[
returns
data from the register on the I2C device as a scalar.value
] = readRegister(i2c
,register
,dataPrecision
)
The readRegister
function stops when it
finishes reading the specified data from the register, or when the
timeout period elapses.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015a