Skip to contents

Get a wrapper for accessing this optional feature.

Usage

get_feature_I2C_bus(jwrapper, sr.index = 0L)

Arguments

jwrapper

an open Wrapper object from Omnidriver

sr.index

an index to address the spectrometer

Value

an object which provides the desired interface, or null if this feature is not available for this spectrometer.

Note

Before calling this function you first need to check that the feature is supported by the spectrometer in use by calling is_feature_supported_I2C_bus.

See also

Other Spectrometer I2C- and SPI-bus functions.: get_I2C_bus(), get_SPI_bytes(), get_feature_SPI_bus(), is_feature_supported_I2C_bus(), is_feature_supported_SPI_bus()