fast-feedback virtual target task code on STM Nucleo

Dependencies:   mbed

Revision:
11:897ecd5413e0
Parent:
7:6744ec9ccc25
Child:
13:8ea85a33e37a
--- a/trial.h	Tue Jun 19 10:11:23 2018 +0000
+++ b/trial.h	Thu Jun 21 17:57:22 2018 +0000
@@ -49,11 +49,17 @@
     */
     uint16_t      delay_dur_ms;
     
+    uint64_t      aud_ticker_cycle;
+    
     ArrayList<trialtime_t>  licking_events;
     ArrayList<trialtime_t>  whisking_events;
     
     void reset(const Task& task);
     
+    void markTrialStart();
+    void markEndOfWait();
+    void markTrialEnd();
+    
     void writeToSerial();
 };