An example HTTP Server using new Ethernet Interface and localfilesystem.
Dependencies: EthernetInterface HttpServer mbed-rpc mbed-rtos mbed
Fork of giken9_HTMLServer_Sample by
Diff: main.cpp
- Revision:
- 6:116ca781e161
- Parent:
- 5:d98cf6df5187
--- a/main.cpp Tue Dec 23 19:38:53 2014 +0000 +++ b/main.cpp Wed Dec 24 00:20:56 2014 +0000 @@ -9,7 +9,6 @@ LocalFileSystem local("local"); DigitalOut led4(LED4); -void LcdWrite(Arguments* arg, Reply* r);void LcdWrite(Arguments* arg, Reply* r); void aliveState(void const *args) { while (true) { @@ -27,7 +26,6 @@ RPC::construct<RpcDigitalOut, PinName, const char*>(LED1, "led1"); RPC::construct<RpcDigitalOut, PinName, const char*>(LED2, "led2"); RPC::construct<RpcDigitalOut, PinName, const char*>(LED3, "led3"); - RPCFunction rpcFunc(LcdWrite, "LcdWrite"); printf("EthernetInterface Setting up...\r\n"); if(eth.init()!=0) { //for DHCP Server