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:
1:bbd6b84fc908
Parent:
0:85afbf3c9fad
Child:
2:a59207652720
--- a/VarStore.cpp	Mon Aug 25 08:43:23 2014 +0000
+++ b/VarStore.cpp	Mon Aug 25 09:17:32 2014 +0000
@@ -136,7 +136,7 @@
                     ci_counter=0;
                     Cs[0]='\0';
                     MyThis->pc->printf(" set variable (%d)\n",ret);
-                    MyThis->pc->printf(" offset -%s- \n",MyThis->Get("offset"));
+                    MyThis->pc->printf(" Get offset -%s- \n",MyThis->Get("offset"));
                 } else {
                     MyThis->pc->printf(" CI -%s- -%c- -%d- \n",Cs,c,ci_counter);