Changeset 108 for tools/ListenToArduino
- Timestamp:
- 09/22/09 13:32:05 (15 years ago)
- Location:
- tools/ListenToArduino
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ListenToArduino/main.c
r104 r108 180 180 181 181 // OPens or Creates an Outfile named 182 // " TEMP_YYYYMMDD.slow"182 // "CLIM_YYYYMMDD.slow" 183 183 // this file should contain all enviromentals from noon to noon. 184 184 // The File is created if it doesn't exist. … … 196 196 197 197 // check what day it is today :-) 198 if ((*timeinfo).tm_hour >1 3){ //then it is already tommorow198 if ((*timeinfo).tm_hour >12){ //then it is already tommorow 199 199 rawtime += 86400; 200 200 timeinfo = gmtime ( &rawtime ); … … 208 208 return NULL; 209 209 } 210 sprintf(outfilename,"%s TEMP_%04d%02d%02d.slow",210 sprintf(outfilename,"%sCLIM_%04d%02d%02d.slow", 211 211 path, // from user 212 212 (*timeinfo).tm_year+1900,
Note:
See TracChangeset
for help on using the changeset viewer.