Pacemaker code Implementation for SFWRENG 3K04
Dependencies: FXOS8700Q Queue mbed-rtos mbed
Fork of Pacemaker by
sense.h@6:4e55880505ce, 2016-11-14 (annotated)
- Committer:
- FiveDollar
- Date:
- Mon Nov 14 02:16:14 2016 +0000
- Revision:
- 6:4e55880505ce
- Parent:
- 5:253c33930e91
added private variables in sense header file
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 | }; |