Embedded web server

Dependencies:   EthernetNetIf HTTPServer SDFileSystem mbed

Fork of webserver by Nobuki HIRAMINE

This web server serves pages from an SD card and supports RPC calls for the PWM and GPIO

Revision:
4:c5b42552ba4a
Parent:
3:15cd22045f66
--- a/main.cpp	Tue Mar 12 10:02:43 2013 +0000
+++ b/main.cpp	Tue Mar 12 12:17:45 2013 +0000
@@ -15,15 +15,9 @@
 DigitalOut led3(LED3);
 DigitalOut led4(LED4);
 
-// PwmOut pwm4(LED4);  // messing about with the pwm
-
 int main(void)
 {
     Base::add_rpc_class<DigitalOut>();
-    // pwm4.period_ms(10.0f);
-    
-    // pwm4 = 0.5f;
-    // pwm3 = 0.01f;
     
     // EthernetNetIf setup
     if( ethif.setup() ) {
@@ -41,6 +35,7 @@
 
     Timer tm;
     tm.start();
+    // flash LED1 to show the server is still operating
     while(1) {
         Net::poll();
         if( 1.0 < tm.read() ) {