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: NetServices TextLCDfor mbed spxml
Fork of News_LCD_display by
Revision 2:6aaaf927e994, committed 2014-02-22
- Comitter:
- 18padx08
- Date:
- Sat Feb 22 23:26:48 2014 +0000
- Parent:
- 1:27033a7fe75c
- Commit message:
- A news ticker for the ZVV-net in Zuerich
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Feb 22 22:19:53 2014 +0000
+++ b/main.cpp Sat Feb 22 23:26:48 2014 +0000
@@ -71,10 +71,7 @@
while(true) {
completed = false;
if (result == HTTP_OK) {
-
- lcd.printf("Reload in 5 sec\n");
-
- wait(5);
+ wait(2);
lcd.cls();
loadZVVNews();
@@ -124,7 +121,7 @@
//if (j==0) wait(1.2); //add first line delays for scroll timing
//delay for charcter scroll timing
}
- wait(2.5);
+ if(tsptr!=NULL) wait(2.5);
lcd.cls(); //clear LCD between news items
}
@@ -132,5 +129,4 @@
stream.readNext((byte*)BigBuf, 4096); //Buffer has been read, now we can put more data in it
}
}
- lcd.cls();
}
\ No newline at end of file
