A sprinkler controller that takes HTTP command for zone and duration.
Dependencies: EthernetNetIf mbed HTTPServer
Diff: main.cpp
- Revision:
- 1:91c2c52b4691
- Parent:
- 0:810ec1936452
--- 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