NTP clock example
Dependencies: C12832_lcd EthernetInterface NTPClient mbed-rtos mbed
Fork of app_board-NTPclock by
Diff: main.cpp
- Revision:
- 1:9095ffb76813
- Parent:
- 0:9653261dbcda
- Child:
- 2:a1840d0972c0
--- a/main.cpp Tue Oct 01 19:50:14 2013 +0000 +++ b/main.cpp Tue Oct 01 19:53:45 2013 +0000 @@ -22,7 +22,7 @@ } lcd.cls(); lcd.printf("Trying to update time...\r\n"); - if (ntp.setTime("ca.pool.ntp.org") == 0) { + if (ntp.setTime("0.pool.ntp.org") == 0) { lcd.printf("Set time successfully\r\n"); while(1) { lcd.cls();