fast-feedback virtual target task code on STM Nucleo

Dependencies:   mbed

Revision:
14:af3adf5d5ddf
Parent:
13:8ea85a33e37a
Child:
15:20f7f737c256
--- a/task.h	Mon Jun 25 13:20:00 2018 +0000
+++ b/task.h	Mon Jun 25 14:47:41 2018 +0000
@@ -19,7 +19,8 @@
 #define CHR_RESP_DUR        'y'
 #define CHR_POST_DUR        'n'
 #define CHR_REWARD_DUR      'r'
-#define CHR_VIS_MIN         'v'
+#define CHR_VIS_MIN         'j'
+#define CHR_VIS_AVG         'v'
 #define CHR_VIS_FAIL        'q'
 
 enum Mode {
@@ -75,6 +76,8 @@
     
     Property<uint16_t>  vis_min_ms;     // the minimum duration for the (passive) visual cue.
     
+    Property<uint16_t>  vis_avg_ms;     // the average duration for the (passive) visual cue.
+    
     Property<uint16_t>  vis_fail_perc;     // the 'failure rate' of the (passive) visual cue.
     
     Action              test_reward;