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: mbed NyFileSystems mbed-rtos libMiMic
Diff: main.cpp
- Revision:
- 6:20dcb08e1b43
- Parent:
- 5:6a2a1644ea2c
- Child:
- 10:80c05810f911
--- a/main.cpp	Sun Apr 28 13:33:36 2013 +0000
+++ b/main.cpp	Mon Apr 29 02:05:11 2013 +0000
@@ -18,7 +18,8 @@
  */
 LocalFileSystem lf("local");
 SDFileSystem sd(p5, p6, p7, p8,"sd");
-
+DigitalOut led1(LED1);
+unsigned int p;
 /**
  * MiMic RemoteMCU httpd.<br/>
  * Number of simultaneous connections:4
@@ -41,6 +42,8 @@
     }
     virtual void onRequest(HttpdConnection& i_connection)
     {
+        p++;
+        led1=p%2;
         //try to ModLocalFileSystem
         if(this->modlocal.execute(i_connection)){
             return;