3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
Diff: main.cpp
- Revision:
- 67:8d0e88172e2a
- Parent:
- 65:3723d2729b68
- Child:
- 68:d3765f93c16a
--- a/main.cpp Sun Apr 09 23:46:20 2017 +0000 +++ b/main.cpp Mon Apr 10 01:37:12 2017 +0000 @@ -92,7 +92,7 @@ measure->temperature = temperature; measure->humidity = humidity; measure->pressure = pressure; - measure->date = new LocalDate(localDate); + measure->date.setValues(localDate); osStatus stat = mail_box.put(measure); @@ -346,7 +346,7 @@ { charPos = strtok(NULL," ,"); float auxRate = atof(charPos); - if(auxRate != 0 && auxRate > 0.09 && auxRate <= 60 ) + if(auxRate != 0 && auxRate > 0.01 && auxRate <= 60 ) { sampleRate = auxRate; timer.detach();