Pacemaker code Implementation for SFWRENG 3K04

Dependencies:   mbed Queue mbed-rtos FXOS8700Q

Fork of Pacemaker by Eric dollar

SWFRENG 3K04 Project to design, develop, and document a functional pacemaker.

The project uses the Freescale K64F Microcontroller and C++ mbed library.

Revision:
29:c0d63940b0c7
Parent:
27:f8deff828a00
Child:
31:5e55042e025a
--- a/main.cpp	Tue Nov 29 20:48:29 2016 +0000
+++ b/main.cpp	Tue Nov 29 21:03:33 2016 +0000
@@ -22,6 +22,9 @@
     motion_set_chamber(0, ventricle);
     motionThread.start(motion_thread);
     
+    Thread egramThread(osPriorityNormal);
+    egramThread.start(storeData);
+    
     interface a(io->getSerial() , ventPulse , generalData, atrium , ventricle,io); 
     
     a.startScreen();