diff --git a/daq.c b/daq.c index 7e2f892..681bfd5 100644 --- a/daq.c +++ b/daq.c @@ -37,9 +37,9 @@ int sensConf(unsigned char uartNumber, int baudRate, unsigned char mode[], unsig int DAQ(int t_hrs, int sp_s) { FILE* dfp; // create a file pointer - const char colums[200] = "t(s)\tCO2 uf(ppm)\tCO2(ppm)\tCO uf(ppm)\t"\ - "CO(ppm)\tppO2(mbar)\tO2(%%)\tT C0(°C*10)\t"\ - "T O2(°C)\tP C0(.mBar)\tP 02(mBar)\tRH(.)\n"; + const char data_header[200] = + "t\tCO2\tCO2 f\tCO\tCO f\tO2\tO2\tT CO\tT O2\tP CO\tP O2\tRH\n"\ + "s\tppm\tppm\tppm\tppm\tppm\t%\t°C*10\t°C\tmBar\tmBar\t%"; char co2_uf[10]="", co2_f[10]="", co_uf[10]="", co_f[10]="", o2_ppm[10]="", o2_xcent[10]="",