Yu Hui Wee / Mbed 2 deprecated HTTPServer_Test_NoIP

Dependencies:   EthernetInterface_2 HTTPServer mbed-rpc_2 mbed-rtos mbed

Fork of EthHTTPServer by Henry Leinen

Revision:
6:d71683e80eb3
Parent:
5:c5c2f7026638
--- a/main.cpp	Sat Aug 17 17:00:35 2013 +0000
+++ b/main.cpp	Thu Nov 17 16:25:08 2016 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 #include "HTTPServer.h"
 #include "FsHandler.h"
-#include "LocalFileSystem.h"
+//#include "LocalFileSystem.h"
 #include "RpcHandler.h"
 #include "mbed_rpc.h"
 
@@ -15,7 +15,7 @@
 //  Instantiate a HTTPServer to handle incoming requests
 HTTPServer  svr;
 //  Instantiate a local file system handler named 'local' which will be used later to access files on the mbed.
-LocalFileSystem local("local");
+//LocalFileSystem local("local");
 
 
 #ifdef ALTERNATIVE
@@ -26,7 +26,7 @@
 
 int main() {
 
-    pc.baud(460800);
+    pc.baud(9600);
     RPC::add_rpc_class<RpcDigitalOut>();
     HTTPFsRequestHandler::mount("/local/", "/");
     svr.addHandler<HTTPFsRequestHandler>("/");