 |
IoT Drivers
v3.3.0 (S2022)
Engineering in Software Technology
|
@ MHZ19_OK
Definition: mh_z19.h:53
@ MHZ19_NO_MEASSURING_AVAILABLE
Definition: mh_z19.h:54
mh_z19_returnCode_t mh_z19_getCo2Ppm(uint16_t *ppm)
Get latest CO2 value.
mh_z19_returnCode_t mh_z19_setAutoCalibration(bool on)
Enable/disable auto calibration of the sensor.
mh_z19_returnCode_t mh_z19_takeMeassuring(void)
Perform a new CO2 meassuring.
void mh_z19_injectCallBack(void(*mh_z19_callBack)(uint16_t))
Inject a call-back function to the driver.
@ MHZ19_NO_SERIAL
Definition: mh_z19.h:55
mh_z19_returnCode_t
MH-Z19 Driver return codes.
Definition: mh_z19.h:52
@ MHZ19_PPM_MUST_BE_GT_999
Definition: mh_z19.h:56
mh_z19_returnCode_t mh_z19_calibrateSpanPoint(uint16_t ppm)
Span calibration of the sensor.
mh_z19_returnCode_t mh_z19_calibrateZeroPoint(void)
Zero calibration of the sensor.
void mh_z19_initialise(serial_comPort_t com_port)
Initialise the driver.