Pacemaker code Implementation for SFWRENG 3K04
Dependencies: FXOS8700Q Queue mbed-rtos mbed
Fork of Pacemaker by
sense.h@30:0cb4890910cd, 2016-11-29 (annotated)
- Committer:
- FiveDollar
- Date:
- Tue Nov 29 21:30:19 2016 +0000
- Revision:
- 30:0cb4890910cd
- Parent:
- 6:4e55880505ce
this is the messed up code that i tried to fix
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
trane3 | 5:253c33930e91 | 1 | #pragma once |
trane3 | 5:253c33930e91 | 2 | #include "mbed.h" |
trane3 | 5:253c33930e91 | 3 | |
trane3 | 5:253c33930e91 | 4 | class sense{ |
trane3 | 5:253c33930e91 | 5 | public: |
trane3 | 5:253c33930e91 | 6 | sense(); |
trane3 | 5:253c33930e91 | 7 | ~sense(); |
trane3 | 5:253c33930e91 | 8 | void checkHrt(); |
trane3 | 5:253c33930e91 | 9 | void getPulse(); |
trane3 | 5:253c33930e91 | 10 | |
trane3 | 5:253c33930e91 | 11 | private: |
trane3 | 5:253c33930e91 | 12 | bool isSensed(); |
FiveDollar | 6:4e55880505ce | 13 | int chamber; |
trane3 | 5:253c33930e91 | 14 | }; |