Live RSS news feeds are displayed on a basic text LCD See http://mbed.org/users/4180_1/notebook/news-lcd-display/

Dependencies:   NetServices TextLCDfor mbed spxml

Fork of News_LCD_display by jim hamblen

Reads the RSS-Fedd of the ZVV and prints the current state of the public transports on a LCD

Revision:
2:6aaaf927e994
Parent:
1:27033a7fe75c
--- 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