weather forecast WIZwiki-W7500 for academy
Dependencies: Adafruit_GFX WIZnetInterface mbed
Fork of Weather_Forecast_Helloworld_WIZwiki-W7500 by
Diff: main.cpp
- Revision:
- 9:5ae28a194322
- Parent:
- 6:780b86964a89
- Child:
- 10:961467f6c8db
diff -r 780b86964a89 -r 5ae28a194322 main.cpp --- a/main.cpp Tue Feb 16 05:24:32 2016 +0000 +++ b/main.cpp Mon Apr 11 23:33:33 2016 +0000 @@ -134,10 +134,9 @@ /* * GET method, to request weather forecast */ - //char http_cmd[] = "GET /data/2.5/weather?q=London,uk&appid=44db6a862fba0b067b1930da0d769e98 HTTP/1.0\n\n"; - char http_cmd[] = "GET /data/2.5/weather?q=Seoul,kr&appid=44db6a862fba0b067b1930da0d769e98 HTTP/1.0\n\n"; - //char http_cmd[] = "GET /data/2.5/weather?q=London,uk&appid=44db6a862fba0b067b1930da0d769e98 HTTP/1.0\n\n"; - //char http_cmd[] = "GET /data/2.5/weather?q=Berlin,de HTTP/1.0\n\n"; + char http_cmd[] = "GET /data/2.5/weather?q=Seoul,kr&appid=b1b15e88fa797225412429c1c50c122a HTTP/1.0\n\n"; + //char http_cmd[] = "GET /data/2.5/weather?q=London,uk&appid=b1b15e88fa797225412429c1c50c122a HTTP/1.0\n\n"; + //char http_cmd[] = "GET /data/2.5/weather?q=Berlin,de&appid=b1b15e88fa797225412429c1c50c122a HTTP/1.0\n\n"; sock.send_all(http_cmd, sizeof(http_cmd)-1);