writeRegister
Write to register on I2C device
Add-On Required: This feature requires the MATLAB Support Package for BeagleBone Black Hardware add-on.
Description
writeRegister(
writes
a hexadecimal value to a register on an I2C device. Optionally, you
can match the data precision to the size of the register on the device.i2c
,register
,value
,dataPrecision
)
The writeRegister
function stops when it
finishes writing the specified data to the register, or when the timeout
period elapses.
Examples
Input Arguments
Version History
Introduced in R2015a