
Interference current stimulation program with kaji-lab ES device.
Dependencies: mbed SerialInputReactionHandler AMPulseTrain SwArr16MOSFET StrCommandHandler KajiLabES
Diff: SerialCom/CommandHandler.h
- Revision:
- 2:5cb68cc8ecaa
- Parent:
- 1:b97639dad576
- Child:
- 3:ef730909a664
--- a/SerialCom/CommandHandler.h Wed Oct 23 20:08:31 2019 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -#ifndef COMMAND_HANDLER_H -#define COMMAND_HANDLER_H -#include "mbed.h" -#include <string> -#include <unsorted_map> - -class CommandAnalyzer -{ -public: - CommandAnalyzer( - int num_of_command = 10, - char response_mode = 0 - ); - int analyzeCommand( - const char* const command - ); - int mapCommand( - const char* const command - int (*fanction)(void) - ); -private: - char (*m_command_name)[20]; - int (**m_function)(void); -} -#endif \ No newline at end of file