Pacemaker code Implementation for SFWRENG 3K04

Dependencies:   FXOS8700Q Queue mbed-rtos mbed

Fork of Pacemaker by Eric dollar

Revision:
9:b48423a135d8
Parent:
3:84d3ef9acd17
Child:
11:35b259e70c9a
diff -r 75c1dd8b0d61 -r b48423a135d8 main.cpp
--- a/main.cpp	Tue Nov 15 00:52:39 2016 +0000
+++ b/main.cpp	Tue Nov 15 20:30:12 2016 +0000
@@ -5,22 +5,21 @@
 #include "pulse.h"
 #include "hardware.h"
 #include "interface.h"
-
-//comment testing
-//adding comments to test version control functionality
+#include "voor.h"
+#include "sense.h"
 
 int main(){
     hardware* io = new hardware();
+    genData* generalData = new genData();
     chamberData* atrium = new chamberData(io->getSerial(),'a');
     chamberData* ventricle = new chamberData(io->getSerial(), 'v');
     pulse* ventPulse = new pulse(ventricle,io);
-    interface a(io->getSerial() , ventPulse , atrium , ventricle);    
+    interface a(io->getSerial() , ventPulse , generalData, atrium , ventricle); 
+    a.startScreen();   
     delete ventricle; //code never reaches here, since we're stuck in the while loops of the pacing, user interface, etc.
     delete atrium;
     delete ventPulse;
     delete io;
     
 return 0;
-    }
-    
-//added ending comments
\ No newline at end of file
+    }
\ No newline at end of file