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:
28:4f36e100ccbe
Parent:
19:d58e1e1a9a24
Child:
29:c0d63940b0c7
diff -r f8deff828a00 -r 4f36e100ccbe dataStruct.cpp
--- a/dataStruct.cpp	Tue Nov 29 19:41:38 2016 +0000
+++ b/dataStruct.cpp	Tue Nov 29 20:48:29 2016 +0000
@@ -4,7 +4,7 @@
 
 dataStruct::dataStruct(hardware* hWare): myQueue(1,N),thread(&dataStruct::threadStarter){
     myHardware = hWare; 
-    thread.signal_set(START_THREAD);
+//    thread.signal_set(START_THREAD);
     }
     
 dataStruct::~dataStruct(){
@@ -16,7 +16,7 @@
     }
 
 void dataStruct::storeData(){
-    thread.signal_wait(START_THREAD);
+//    thread.signal_wait(START_THREAD);
     while(true){
         streamValue = myHardware->getSense();
         if(myQueue.GetNumberOfItems() <= N){