writeRegister
Syntax
Description
writeRegister(
writes the values of peripheral,registerAddress,data)data as uint8 to the specified
register memory address registerAddress of the I2C peripheral device
peripheral. This operation is done in a single I2C
transaction.
writeRegister(
writes peripheral,registerAddress,data,datatype)data in the form specified by datatype,
regardless of the format in data.
Examples
Input Arguments
Version History
Introduced in R2023a
See Also
device | readRegister | read | write