n =
spi_write (spi, data)
¶Write data to a spi slave device.
spi - instance of octave_spi class.
data - data, of type uint8, to be written to the slave device.
Upon successful completion, spi_write() shall return the number of bytes written as the result n.
Package: instrument-control