Interface definition for the MH-Z19 CO2 sensor driver. More...
Interface definition for the MH-Z19 CO2 sensor driver.
Definition in file mhz19.h.
 Include dependency graph for mhz19.h:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Enumerations | |
| enum | { MHZ19_OK = 0 , MHZ19_ERR_INIT = -1 , MHZ19_ERR_TIMEOUT = -2 , MHZ19_ERR_CHECKSUM = -3 } | 
| Status and error return codes.  More... | |
Functions | |
| int | mhz19_init (mhz19_t *dev, const mhz19_params_t *params) | 
| Initialize a MH-Z19 device.  More... | |
| int | mhz19_get_ppm (mhz19_t *dev, int16_t *ppm) | 
| Get measured CO2 ppm value.  More... | |
Variables | |
| const saul_driver_t | mhz19_ppm_saul_driver | 
| Export SAUL endpoint.  | |