sfs

Dependencies:   EthernetInterface mbed-rtos mbed

Files at this revision

API Documentation at this revision

Comitter:
grzemich
Date:
Fri Dec 09 07:00:31 2016 +0000
Parent:
4:39d4e34e26ae
Commit message:
gvjs

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 39d4e34e26ae -r 83fa43f0ea2d main.cpp
--- a/main.cpp	Fri Dec 09 06:52:52 2016 +0000
+++ b/main.cpp	Fri Dec 09 07:00:31 2016 +0000
@@ -4,7 +4,7 @@
  
 int main() {
     EthernetInterface eth;
-    eth.init(MBED_DEV_IP, MBED_DEV_MASK, MBED_DEV_GW);
+    eth.init();
     eth.connect();
     printf("IP Address is %s\n", eth.getIPAddress());
     eth.disconnect();