TeamE7

Dependencies:   EthernetInterface HTTPServer RemoteIR SDFileSystem mbed-rpc mbed-rtos mbed

Fork of SmartRemote by Sam Kirsch

Revision:
9:47c413188c0d
Parent:
8:858f7605c769
Child:
12:20ba5378ede2
diff -r 858f7605c769 -r 47c413188c0d main.cpp
--- a/main.cpp	Tue Dec 03 14:41:51 2013 +0000
+++ b/main.cpp	Tue Dec 03 14:43:51 2013 +0000
@@ -71,9 +71,8 @@
     svr.addHandler<HTTPRpcRequestHandler>("/rpc");
 
     EthernetInterface eth;
-    eth.setup(300000);
     eth.init(); //Use DHCP
-    eth.connect();
+    eth.connect(30000);
 
     // Now start the server on port 80.
     if (!svr.start(80, &eth)) {