ggrd

Dependencies:   Adafruit_GFX WIZnetInterface mbed

Fork of Weather_Forecast_Helloworld_WIZwiki-W7500 by IOP

Files at this revision

API Documentation at this revision

Comitter:
ajeet3004
Date:
Mon Nov 27 05:32:52 2017 +0000
Parent:
17:bf1228469a6c
Commit message:
tgrf

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Jun 15 05:06:26 2017 +0000
+++ b/main.cpp	Mon Nov 27 05:32:52 2017 +0000
@@ -20,7 +20,7 @@
 TCPSocketConnection sock;
 
 
-// LED desplay functions  
+// LED display functions  
 void clean(){
     rled = 0; gled = 0; bled = 0;
 }
@@ -95,8 +95,8 @@
         
         
         // GET method, to request weather forecast  
-        //char http_cmd[] = "GET /data/2.5/weather?q=Seoul,kr&appid=a0ca47dd7f6066404629b3e1ad728981 HTTP/1.0\n\n";
-        char http_cmd[] = "GET /data/2.5/weather?q=London,uk&appid=a0ca47dd7f6066404629b3e1ad728981 HTTP/1.0\n\n";
+        char http_cmd[] = "GET /data/2.5/weather?q=Seoul,kr&appid=a0ca47dd7f6066404629b3e1ad728981 HTTP/1.0\n\n";
+          //char http_cmd[] = "GET /data/2.5/weather?q=London,us&appid=a0ca47dd7f6066404629b3e1ad728981 HTTP/1.0\n\n";
         //char http_cmd[] = "GET /data/2.5/weather?q=Berlin,de&appid=a0ca47dd7f6066404629b3e1ad728981 HTTP/1.0\n\n";
         
         sock.send_all(http_cmd, sizeof(http_cmd)-1);
@@ -198,7 +198,7 @@
         /* 
          *    everytime in delay, request weather forecast 
          */
-        wait(20.0);
+        wait(40.0);
     
    };
 
--- a/mbed.bld	Thu Jun 15 05:06:26 2017 +0000
+++ b/mbed.bld	Mon Nov 27 05:32:52 2017 +0000
@@ -1,1 +1,1 @@
-https://mbed.org/users/mbed_official/code/mbed/builds/97feb9bacc10
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/a330f0fddbec
\ No newline at end of file