Pacemaker code Implementation for SFWRENG 3K04

Dependencies:   FXOS8700Q Queue mbed-rtos mbed

Fork of Pacemaker by Eric dollar

Revision:
18:aef2f75f216b
Parent:
11:35b259e70c9a
--- a/pulse.h	Wed Nov 16 15:19:20 2016 +0000
+++ b/pulse.h	Wed Nov 16 20:55:27 2016 +0000
@@ -9,12 +9,14 @@
     pulse(chamberData*, hardware*);
     ~pulse();
     void startPulse();
+    void setWaitTime(double);
     void setChamber(chamberData*); //used in VOOR (for now, might change) - eric
     
 private:
     double myPaceWidth; //mSec, width of ventricular pace
     double myPaceAmp; //mV, amplitude of ventricular pace
     double myRP; //mSec, duration of refractory period
+    double waitTime;
     float p_hysteresisInterval;
     float p_lowrateInterval;
     bool p_hysteresis;