Simple Thing for DJ

Dependencies:   WIZnet_Library mbed

Fork of SimpleThing_DJ by Ganesh Gore

Revision:
2:1e8031dab116
Parent:
1:421fd0a7b5d7
Child:
3:bf6b5491779a
--- 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();