Loadable Function: n = i2c_write (i2c, data)

Write data to a i2c slave device.

Inputs

i2c - instance of octave_i2c class.
data - data, of type uint8, to be written to the slave device.

Outputs

Upon successful completion, i2c_write() shall return the number of bytes written as the result n.

Package: instrument-control