fast-feedback virtual target task code on STM Nucleo

Dependencies:   mbed

Revision:
15:20f7f737c256
Parent:
14:af3adf5d5ddf
Child:
16:33c17c62840e
--- a/task.h	Mon Jun 25 14:47:41 2018 +0000
+++ b/task.h	Mon Jun 25 17:43:40 2018 +0000
@@ -19,6 +19,7 @@
 #define CHR_RESP_DUR        'y'
 #define CHR_POST_DUR        'n'
 #define CHR_REWARD_DUR      'r'
+#define CHR_PRE_MIN         'o'
 #define CHR_VIS_MIN         'j'
 #define CHR_VIS_AVG         'v'
 #define CHR_VIS_FAIL        'q'
@@ -74,6 +75,8 @@
     
     Property<uint16_t>  reward_ms;      // the duration of reward.
     
+    Property<uint16_t>  pre_min_ms;     // the minimum onset for the (passive) visual cue.
+    
     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.