Send a packet of bytes over the SPI bus and read the result.
Value
After writing to SPI, the spectrometer immediately reads from it. The resulting Byte array is returned.
Details
Several spectrometers have an I2C bus accesible through the auxiliary connector which can be used to control accesories. The I2C bus in Ocean Insight spectrometers is not intended to be used to control the spectrometer or retrieve data but instead to control and access other accessories with the spectrometer acting as middle man.
See also
Other Spectrometer I2C- and SPI-bus functions.:
get_I2C_bus(),
get_feature_I2C_bus(),
get_feature_SPI_bus(),
is_feature_supported_I2C_bus(),
is_feature_supported_SPI_bus()
