A sprinkler controller that takes HTTP command for zone and duration.

Dependencies:   EthernetNetIf mbed HTTPServer

Files at this revision

API Documentation at this revision

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
--- 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