Hi Mich,
I have review your code.
After remove condig_load(), a new error BSEC_E_SU_SAMPLINTVLINTEGERMULT = -16, please check you sample rate with our example code. From example code, the bsec_iot_init() as bellow.
/* Call to the function which initializes the BSEC library * Switch on low-power mode and provide no temperature offset */ ret_bsec = bsec_iot_init(BSEC_SAMPLE_RATE_LP, 0.0f, bus_write, bus_read, sleep, state_load, config_load);
I have enclosed example code for you, please match the initial code.
At the sametiem, could you make sure the I2C bus only have one sensor? The I2C write function is success?
Best regards.
... View more