weather forecast WIZwiki-W7500 for academy
Dependencies: Adafruit_GFX WIZnetInterface mbed
Fork of Weather_Forecast_Helloworld_WIZwiki-W7500 by
Diff: main.cpp
- Revision:
- 12:b390072ae7ea
- Parent:
- 11:d6285226f186
- Child:
- 13:6396875b2889
--- a/main.cpp Mon Apr 17 23:13:18 2017 +0000 +++ b/main.cpp Tue Apr 18 00:23:36 2017 +0000 @@ -73,8 +73,6 @@ eth.init(mac_addr); //Use DHCP while(1){ - - eth.connect(); // phy link do{ @@ -83,6 +81,8 @@ wait(2); }while(!phy_link); printf("\r\n"); + + eth.connect(); printf("IP Address is %s\r\n\r\n", eth.getIPAddress());