Changeset 108 for tools


Ignore:
Timestamp:
09/22/09 13:32:05 (15 years ago)
Author:
daqct3
Message:
chaneged output filename to CLIM_YYYYMMDD.slow
Location:
tools/ListenToArduino
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/ListenToArduino/main.c

    r104 r108  
    180180
    181181// OPens or Creates an Outfile named
    182 // "TEMP_YYYYMMDD.slow"
     182// "CLIM_YYYYMMDD.slow"
    183183// this file should contain all enviromentals from noon to noon.
    184184// The File is created if it doesn't exist.
     
    196196       
    197197        // check what day it is today :-)
    198         if ((*timeinfo).tm_hour >13){ //then it is already tommorow
     198        if ((*timeinfo).tm_hour >12){ //then it is already tommorow
    199199        rawtime += 86400;
    200200        timeinfo = gmtime ( &rawtime );
     
    208208                return NULL;
    209209        }
    210         sprintf(outfilename,"%sTEMP_%04d%02d%02d.slow",
     210        sprintf(outfilename,"%sCLIM_%04d%02d%02d.slow",
    211211                        path, // from user
    212212                        (*timeinfo).tm_year+1900,
Note: See TracChangeset for help on using the changeset viewer.