Embedded web server
Dependencies: EthernetNetIf HTTPServer SDFileSystem mbed
Fork of webserver by
This web server serves pages from an SD card and supports RPC calls for the PWM and GPIO
Revision 4:c5b42552ba4a, committed 2013-03-12
- Comitter:
- ajoliver
- Date:
- Tue Mar 12 12:17:45 2013 +0000
- Parent:
- 3:15cd22045f66
- Child:
- 5:a8e0af266847
- Commit message:
- Cleaned up unused code
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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() ) {