LCD clock display set using NTP server
Dependencies: EthernetNetIf NTPClient_NetServices TextLCD mbed
Fork of Internet_LCD_Clock by
Diff: Internet_LCD_Clock.cpp
- Revision:
- 2:cf35fcda83d0
- Parent:
- 1:09fcc9b81f23
--- 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); } }