fast-feedback virtual target task code on STM Nucleo

Dependencies:   mbed

Revision:
9:e136394bdb39
Parent:
5:849446d19406
Child:
11:897ecd5413e0
--- a/task.h	Thu May 31 15:25:37 2018 +0000
+++ b/task.h	Mon Jun 18 10:43:45 2018 +0000
@@ -7,10 +7,7 @@
 /*
  * command characters
  */
-#define CMD_ID_MODE       '_'
-#define CMD_MODE_PAIR     'P'
-#define CMD_MODE_REPORT   'R'
-#define CMD_MODE_APPEAR   'A'
+ 
 #define CMD_TEST_REWARD   'T'
 #define CMD_EXECUTE       'x'
 
@@ -23,12 +20,19 @@
 
 enum Mode {
     Pair,
+    WithCue,
     Report,
     Appear
 };
 
 struct ModeSelection: public config::CommandResponder
 {
+    static const char CMD_ID_MODE;
+    static const char CMD_MODE_PAIR;
+    static const char CMD_MODE_WITHCUE;
+    static const char CMD_MODE_REPORT;
+    static const char CMD_MODE_APPEAR;
+    
     ModeSelection(); // not allowed
     
     explicit ModeSelection(const Mode& defaultValue);