diff options
author | Jeonghoon Park <jh1979.park@samsung.com> | 2018-08-09 19:02:16 +0900 |
---|---|---|
committer | Jeonghoon Park <jh1979.park@samsung.com> | 2018-08-09 19:02:16 +0900 |
commit | cc9b3e65ca93b8a761b056123b0a21b6faf82a61 (patch) | |
tree | 8334ec8803873d9fca5f22340911450640fb99ab /inc | |
parent | 748b267cca86743a04849426c3b95f954b8d7b73 (diff) | |
download | st-things-co2-meter-cc9b3e65ca93b8a761b056123b0a21b6faf82a61.tar.gz st-things-co2-meter-cc9b3e65ca93b8a761b056123b0a21b6faf82a61.tar.bz2 st-things-co2-meter-cc9b3e65ca93b8a761b056123b0a21b6faf82a61.zip |
implement voltage to ppm for example
Diffstat (limited to 'inc')
-rw-r--r-- | inc/co2-sensor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/co2-sensor.h b/inc/co2-sensor.h index d9ee219..d3b2b39 100644 --- a/inc/co2-sensor.h +++ b/inc/co2-sensor.h @@ -34,9 +34,11 @@ void co2_sensor_close(void); /* utility functions */ double co2_sensor_value_to_voltage(unsigned int value); -/* Not implemented, please see comment in c source code */ + +/* Fallowing functions art Not implemented, please see comments in c source code */ +int co2_sensor_set_calibration_values(unsigned int zero_point_v, + unsigned int second_point_ppm, unsigned int second_point_v); unsigned int co2_sensor_voltage_to_ppm(double voltage); unsigned int co2_sensor_value_to_ppm(unsigned int value); #endif /* __CO2_SENSOR_H__ */ - |