LCD clock display set using NTP server
Dependencies: EthernetNetIf NTPClient_NetServices TextLCD mbed
Fork of Internet_LCD_Clock by
Revision 2:cf35fcda83d0, committed 2012-09-18
- 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
diff -r 09fcc9b81f23 -r cf35fcda83d0 Internet_LCD_Clock.cpp --- 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); } }
diff -r 09fcc9b81f23 -r cf35fcda83d0 NTPClient.lib --- 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
diff -r 09fcc9b81f23 -r cf35fcda83d0 mbed.bld --- 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