Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: WIZnet_Library mbed
Fork of W5500HelloWorld by
Revision 2:1e8031dab116, committed 2015-06-06
- Comitter:
- ganeshgore
- Date:
- Sat Jun 06 15:37:41 2015 +0000
- Parent:
- 1:421fd0a7b5d7
- Commit message:
- initit;
Changed in this revision
| WIZnet_Library.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/WIZnet_Library.lib Sat Jun 06 14:31:33 2015 +0000 +++ b/WIZnet_Library.lib Sat Jun 06 15:37:41 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/WIZnet/code/WIZnet_Library/#d4a7d43fb16f +http://developer.mbed.org/users/ganeshgore/code/WIZnet_Library/#d4a7d43fb16f
--- a/main.cpp Sat Jun 06 14:31:33 2015 +0000
+++ b/main.cpp Sat Jun 06 15:37:41 2015 +0000
@@ -1,7 +1,7 @@
#include "mbed.h"
#include "WIZnetInterface.h"
-#define USE_DHCP 0
+#define USE_DHCP 1
#define LOOPBACKPORT 5000
@@ -25,7 +25,7 @@
// set these to match the mac address on the Arduino Ethernet Shield
mac[0] = 0x90; mac[1] = 0xa2; mac[2] = 0xda;
- mac[3] = 0x0f; mac[4] = 0x0e; mac[5] = 0x63; // 90:a2:da:0f:0e:63
+ mac[3] = 0x0f; mac[4] = 0x0e; mac[5] = 0x07; // 90:a2:da:0f:0e:63
@@ -60,7 +60,7 @@
pc.printf("Error ethernet.init() - ret = %d\r\n", ret);
exit(0);
}
-
+ while(1);
TCPSocketServer server;
server.bind(LOOPBACKPORT);
server.listen();
