For lecture

Dependencies:   WIZnetInterface mbed WIZwiki-W7500-lecture

Dependents:   WIZwiki-W7500-lecture1-tcp WIZwiki-W7500-lecture2-udp WIZwiki-W7500-lecture WIZwiki-W7500-lecture1-tcp-server ... more

Fork of TCPClient_HelloWorld_WIZwiki-W7500 by WIZnet

Files at this revision

API Documentation at this revision

Comitter:
bangbh
Date:
Tue Feb 02 01:16:46 2016 +0000
Parent:
4:09dc56cf66d3
Commit message:
For lecture

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 09dc56cf66d3 -r debe04dc13ff main.cpp
--- a/main.cpp	Mon Feb 01 23:27:40 2016 +0000
+++ b/main.cpp	Tue Feb 02 01:16:46 2016 +0000
@@ -9,4 +9,7 @@
     eth.init(mac_addr, "192.168.0.180", "255.255.255.0", "192.168.0.1"); // USE Static IP
     //eth.init(mac_addr); //Use DHCP
     eth.connect();
+    printf("IP ADDR: %s\r\n",eth.getIPAddress());
+    printf("SUBNETMASK ADDR: %s\r\n",eth.getNetworkMask());
+    printf("GATE WAY ADDR: %s\r\n",eth.getGateway());
 }
\ No newline at end of file