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.
Diff: VarItems.h
- Revision:
- 8:934ec53fe2c0
- Parent:
- 2:a59207652720
- Child:
- 9:d081aa4e4418
diff -r fafe81a95c08 -r 934ec53fe2c0 VarItems.h --- a/VarItems.h Mon Aug 25 17:55:39 2014 +0000 +++ b/VarItems.h Mon Aug 25 19:54:12 2014 +0000 @@ -24,8 +24,8 @@ char *Dump(); char *GetVarName(); -protected: -private: +//protected: +//private: char VarName[VAR_NAME_LEN]; @@ -33,6 +33,9 @@ float *ValFloat; VarTypes VarType; unsigned int ArraySize; + +protected: +private: }; #endif // VARITEMS_H