eric's fork test

Dependencies:   mbed-rtos mbed

Fork of Pacemaker by 3k04 team

Revision:
0:b2b3955cd77b
Child:
2:fbba2687ddfe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pulse.h	Sun Oct 30 16:04:52 2016 +0000
@@ -0,0 +1,25 @@
+#pragma once
+#include "mbed.h"
+#include "hardware.h"
+#include "chamberData.h"
+
+class pulse{
+public:
+    pulse();
+    pulse(chamberData*, hardware*);
+    ~pulse();
+    void startPulse();
+    
+private:
+    double myPaceWidth; //mSec, width of ventricular pace
+    double myPaceAmp; //mV, amplitude of ventricular pace
+    double myRP; //mSec, duration of refractory period
+    float p_hysteresisInterval;
+    float p_lowrateInterval;
+    bool p_hysteresis;
+    Serial* pc;
+    AnalogOut* aOut;
+    chamberData* myChamber;
+    hardware* myIOpins;
+        
+};
\ No newline at end of file