Microcontroller firmware that uses a simple, yet powerful scripting language to control the timing of input and output events with high temporal resolution. Written by Mattias Karlsson

Dependencies:   SMARTWAV mbed

Revision:
6:6a6761a47951
Parent:
3:d7b0a0890d96
Child:
7:5fe7329751d4
--- a/hardwareInterface.cpp	Thu Jan 21 14:28:46 2016 +0000
+++ b/hardwareInterface.cpp	Fri Jun 10 21:22:34 2016 +0000
@@ -112,10 +112,10 @@
         //If we are currently checking this input, then we buffer the trigger and deal with it after
         if (newState == 0){
             bufferedDownEvent.timeStamp = timeStamp;
-            bufferedDownEvent.triggered = true;
+            //bufferedDownEvent.triggered = true;
         } else if (newState == 1) {
             bufferedUpEvent.timeStamp = timeStamp;
-            bufferedUpEvent.triggered = true;
+            //bufferedUpEvent.triggered = true;
         }
     }
     /*