equal
deleted
inserted
replaced
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 { |