Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C12832_lcd EthernetInterface NTPClient mbed-rtos mbed
Revision 1:9095ffb76813, committed 2013-10-01
- Comitter:
- 4180_1
- Date:
- Tue Oct 01 19:53:45 2013 +0000
- Parent:
- 0:9653261dbcda
- Commit message:
- ver 1.0
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9653261dbcda -r 9095ffb76813 main.cpp
--- 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();