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.

Committer:
noahzwiep
Date:
Tue Dec 13 03:46:34 2016 +0000
Revision:
34:701503855d52
Parent:
6:4e55880505ce
Child:
36:b6431cd8ecd6
Added sense module, only thing left is figuring out pins

Who changed what in which revision?

UserRevisionLine numberNew contents of line
trane3 5:253c33930e91 1 #pragma once
trane3 5:253c33930e91 2 #include "mbed.h"
noahzwiep 34:701503855d52 3 #include "genData.h"
trane3 5:253c33930e91 4
trane3 5:253c33930e91 5 class sense{
trane3 5:253c33930e91 6 public:
noahzwiep 34:701503855d52 7 sense(genData*);
trane3 5:253c33930e91 8 ~sense();
trane3 5:253c33930e91 9 void checkHrt();
trane3 5:253c33930e91 10 void getPulse();
noahzwiep 34:701503855d52 11 bool returnedSense();
trane3 5:253c33930e91 12
trane3 5:253c33930e91 13 private:
noahzwiep 34:701503855d52 14 bool isSensed;
noahzwiep 34:701503855d52 15 bool timeout;
noahzwiep 34:701503855d52 16 genData* myGenData;
trane3 5:253c33930e91 17 };