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: EthernetInterface HTTPServer RemoteIR SDFileSystem mbed-rpc mbed-rtos mbed
Fork of SmartRemote by
Diff: main.cpp
- Revision:
- 9:47c413188c0d
- Parent:
- 8:858f7605c769
- Child:
- 12:20ba5378ede2
--- 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, ð)) {
    