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: NyFileSystems libMiMic mbed-rtos mbed
Revision 6:20dcb08e1b43, committed 2013-04-29
- Comitter:
- nyatla
- Date:
- Mon Apr 29 02:05:11 2013 +0000
- Parent:
- 5:6a2a1644ea2c
- Child:
- 7:8ce615c06e5d
- Commit message:
- Add LED blinking
Changed in this revision
| libMiMic.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/libMiMic.lib Sun Apr 28 13:33:36 2013 +0000 +++ b/libMiMic.lib Mon Apr 29 02:05:11 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/nyatla/code/libMiMic/#0dae06d012e3 +http://mbed.org/users/nyatla/code/libMiMic/#3a5e991c1f10
--- 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;