*/
int co2_sensor_read(int ch_num, unsigned int *out_value);
-/* release resource */
+/* release co2 sensor resource */
void co2_sensor_close(void);
-/* utility functions */
+/* utility function : convert adc value(from MCP3008) to voltage */
double co2_sensor_value_to_voltage(unsigned int value);
-/* Fallowing functions art Not implemented, please see comments in c source code */
+/* Following functions are 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);
******************************************************************/
#ifndef __SENSOR_DATA_H__
-#define __SENSOR_DATA_H__
+#define __SENSOR_DATA_H__
#include <stdbool.h>