Simple embedded shell with runtime pluggable commands.
Implements a simple unix-like shell for embedded systems with a pluggable command architecture.
Diff: SimpleShell.h
- Revision:
- 1:998a7ed04f10
- Parent:
- 0:49820d5a38c9
- Child:
- 2:4f0affdb7db9
diff -r 49820d5a38c9 -r 998a7ed04f10 SimpleShell.h --- a/SimpleShell.h Sat Dec 01 23:18:03 2018 +0000 +++ b/SimpleShell.h Sun Dec 02 16:50:40 2018 +0000 @@ -4,8 +4,7 @@ public: SimpleShell(); - void attach(Callback<void()> func, char *command) { - } + void attach(Callback<void()> cb, char *command); // void registerCommand(char *commandString, char *helpText, Callback<void(float)> cb); void run();