Ryo Iizuka / Mbed 2 deprecated MiMicRemoteMCU-for-Mbed

Dependencies:   libMiMic mbed-rtos mbed NySDFileSystem

Files at this revision

API Documentation at this revision

Comitter:
nyatla
Date:
Sat May 04 16:40:58 2013 +0000
Parent:
15:35df376264a3
Child:
17:0d2911b6f337
Commit message:
update libMiMic

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	Sat May 04 12:12:12 2013 +0000
+++ b/libMiMic.lib	Sat May 04 16:40:58 2013 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/nyatla/code/libMiMic/#e19aab0c4156
+http://mbed.org/users/nyatla/code/libMiMic/#0ab91b2e04b4
--- a/main.cpp	Sat May 04 12:12:12 2013 +0000
+++ b/main.cpp	Sat May 04 16:40:58 2013 +0000
@@ -5,13 +5,11 @@
 
 /**
  * local filesystem support.
+ * MiMic::LocalFileSystem2 do not freeze on LPCXpresso.
  */
-LocalFileSystem lf("local");
+LocalFileSystem2 lf("local");
 SDFileSystem sd(p5, p6, p7, p8,"sd");
 
-DigitalOut led1(LED1);
-DigitalOut led3(LED3);
-DigitalOut led4(LED4);
 
 /**
  * MiMic RemoteMCU httpd.<br/>
@@ -77,9 +75,9 @@
 {
     NetConfig cfg; //create network configulation  with onchip-setting.
     //try to override setting by local file.
-//    if(!cfg.loadFromFile("/local/mimic.cfg")){
-//        cfg.loadFromFile("/sd/mimic.cfg");
-//    }
+    if(!cfg.loadFromFile("/local/mimic.cfg")){
+        cfg.loadFromFile("/sd/mimic.cfg");
+    }
     Net net(cfg);  //create a net instance
     MiMicRemoteMcu httpd; //create a httpd instance.
     httpd.loop();  //start httpd loop.