Function xensiv_pasco2_set_offset_compensation(const xensiv_pasco2_t *, uint16_t)¶
Defined in File xensiv_pasco2.h
Function Documentation¶
-
int32_t xensiv_pasco2_set_offset_compensation(const xensiv_pasco2_t *dev, uint16_t val)¶
Sets the offset compensation value Defines the reference value used for ABOC and force calibration.
- Parameters
dev – [in] Pointer to the XENSIV™ PAS CO2 sensor device
val – [in] New pressure calibration value to apply
- Returns
XENSIV_PASCO2_OK if setting the measurement offset was successful; an error indicating what went wrong otherwise