writeRegister
R2026bWrite to register on I2C device
Description
Add-On Required: This feature requires the MATLAB Support Package for BeagleBone Black Hardware add-on.
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