LCD clock display set using NTP server

Dependencies:   EthernetNetIf NTPClient_NetServices TextLCD mbed

Fork of Internet_LCD_Clock by jim hamblen

Files at this revision

API Documentation at this revision

Comitter:
4180_1
Date:
Tue Sep 18 13:53:22 2012 +0000
Parent:
1:09fcc9b81f23
Commit message:
Has the older networking library code

Changed in this revision

Internet_LCD_Clock.cpp Show annotated file Show diff for this revision Revisions of this file
NTPClient.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/Internet_LCD_Clock.cpp	Sat Apr 14 01:12:23 2012 +0000
+++ b/Internet_LCD_Clock.cpp	Tue Sep 18 13:53:22 2012 +0000
@@ -36,6 +36,7 @@
         lcd.cls();
         ctTime = time(NULL);
         lcd.printf("UTC:  %s", ctime(&ctTime));
+        printf("Current time is (UTC): %s\n", ctime(&ctTime));
         wait(.25);
     }
 }
--- a/NTPClient.lib	Sat Apr 14 01:12:23 2012 +0000
+++ b/NTPClient.lib	Tue Sep 18 13:53:22 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/donatien/code/NTPClient/#7c3f1199256a
+http://mbed.org/users/donatien/code/NTPClient_NetServices/#7c3f1199256a
--- a/mbed.bld	Sat Apr 14 01:12:23 2012 +0000
+++ b/mbed.bld	Tue Sep 18 13:53:22 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/9114680c05da
+http://mbed.org/users/mbed_official/code/mbed/builds/9114680c05da
\ No newline at end of file