Main Content
writeRegister
Write data to I2C device register
Syntax
Description
writeRegister(
writes data to the register on I2C device, specified as a device object.i2cdevObj
,registerAddress
,dataIn
)
writeRegister(
writes data to the register on I2C device, specified as a device object, based on the data
precision.i2cdevObj
,registerAddress
,dataIn
,precision
)
Examples
Input Arguments
Version History
Introduced in R2017b