library to modify and read program variable in runtime from a serial console. You can reset as well the mbed from the console without pushing buttons. Handy for debugging from the online compiler as you can change the behavior of the program without need to recompile each time.

Revision:
6:9848fdaf2ad9
Parent:
5:47b67a7c0bb7
Child:
7:fafe81a95c08
--- a/VarStore.h	Mon Aug 25 14:58:42 2014 +0000
+++ b/VarStore.h	Mon Aug 25 15:38:31 2014 +0000
@@ -59,7 +59,7 @@
 
     static    void Worker(void const *args);
 
-
+   
 
 protected:
 
@@ -91,9 +91,11 @@
     VarItem Store[SZ];
     int VarCounter;
     Serial *pc;
-    static VarStore *MyThis;   // used by the worker reading the terminal
-
+    
+    static VarStore *MyThis;   // used by the workers reading the terminal
 
 };
 
+
+
 #endif // VARSTORE_H