
Pacemaker code Implementation for SFWRENG 3K04
Dependencies: mbed Queue mbed-rtos FXOS8700Q
Fork of Pacemaker by
SWFRENG 3K04 Project to design, develop, and document a functional pacemaker.
The project uses the Freescale K64F Microcontroller and C++ mbed library.
Diff: voor.cpp
- Revision:
- 18:aef2f75f216b
- Parent:
- 10:35b259e70c9a
--- a/voor.cpp Wed Nov 16 15:19:20 2016 +0000 +++ b/voor.cpp Wed Nov 16 20:55:27 2016 +0000 @@ -2,11 +2,13 @@ #include "mbed.h" #include "voor.h" #include "pulse.h" +#include "rtos.h" voor::voor(){} voor::voor(pulse* p){ voorPulse = p; + // Thread thread(voor_pace); } voor::~voor(){}; @@ -21,4 +23,7 @@ void voor::setPacingMode(int i){ y_pacingMode = i; } - \ No newline at end of file + +void voor::voor_pace(void const *args){ + startPace(); + } \ No newline at end of file