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