A sprinkler controller that takes HTTP command for zone and duration.
Dependencies: EthernetNetIf mbed HTTPServer
Revision 1:91c2c52b4691, committed 2011-03-09
- Comitter:
- dminear
- Date:
- Wed Mar 09 03:44:43 2011 +0000
- Parent:
- 0:810ec1936452
- Commit message:
- Fixed constant setting of time via NTP.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 810ec1936452 -r 91c2c52b4691 main.cpp --- a/main.cpp Tue Mar 08 15:22:44 2011 +0000 +++ b/main.cpp Wed Mar 09 03:44:43 2011 +0000 @@ -99,6 +99,7 @@ ntp.setTime(server2); time_t seconds = time(NULL); printf("Time as a basic string = %s\r", ctime(&seconds)); + timesync = 0; } if (bypass) { // ignore all other choices other than inputs