pce.c
changeset 19 3ed36b0e41bd
parent 18 f85465640dd4
child 21 59497fb48e2c
equal deleted inserted replaced
18:f85465640dd4 19:3ed36b0e41bd
   196 
   196 
   197     time_per_sample = *((short int *) (data + 12));
   197     time_per_sample = *((short int *) (data + 12));
   198 
   198 
   199     fprintf(outfile, "# Time between samples: %i s\n",
   199     fprintf(outfile, "# Time between samples: %i s\n",
   200             time_per_sample);
   200             time_per_sample);
       
   201 
       
   202     fprintf(outfile, "set xdata time; set timefmt \"%%s\"; plot \"-\" using 2:3 "
       
   203             "with lines title \"temp\", \"\" using 2:4 with lines title \"hum\"; pause -1\n");
       
   204 
   201 }
   205 }
   202 
   206 
   203 int
   207 int
   204 start_download()
   208 start_download()
   205 {
   209 {