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.
chamberData.h@20:bfd23a6845bb, 2016-11-24 (annotated)
- Committer:
- FiveDollar
- Date:
- Thu Nov 24 03:26:14 2016 +0000
- Revision:
- 20:bfd23a6845bb
- Parent:
- 0:b2b3955cd77b
- Child:
- 27:f8deff828a00
All values can now be updated
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
FiveDollar | 0:b2b3955cd77b | 1 | #pragma once |
FiveDollar | 0:b2b3955cd77b | 2 | #include "mbed.h" |
FiveDollar | 0:b2b3955cd77b | 3 | #include "genData.h" |
FiveDollar | 0:b2b3955cd77b | 4 | |
FiveDollar | 0:b2b3955cd77b | 5 | class chamberData : public genData { |
FiveDollar | 0:b2b3955cd77b | 6 | public: |
FiveDollar | 0:b2b3955cd77b | 7 | chamberData(); |
FiveDollar | 0:b2b3955cd77b | 8 | ~chamberData(); |
FiveDollar | 0:b2b3955cd77b | 9 | chamberData(Serial*, char); |
FiveDollar | 0:b2b3955cd77b | 10 | char getChamberType(); |
FiveDollar | 20:bfd23a6845bb | 11 | int chngPaceAmp(double); |
FiveDollar | 0:b2b3955cd77b | 12 | double getPaceAmp(); |
FiveDollar | 20:bfd23a6845bb | 13 | int chngPaceWidth(double); |
FiveDollar | 0:b2b3955cd77b | 14 | double getPaceWidth(); |
FiveDollar | 20:bfd23a6845bb | 15 | int chngRP(double); |
FiveDollar | 0:b2b3955cd77b | 16 | double getRP(); |
FiveDollar | 20:bfd23a6845bb | 17 | int chngSensitivity(double); |
FiveDollar | 0:b2b3955cd77b | 18 | double getSensitivity(); |
FiveDollar | 0:b2b3955cd77b | 19 | private: |
FiveDollar | 0:b2b3955cd77b | 20 | Serial* pc; |
FiveDollar | 0:b2b3955cd77b | 21 | char mychamber; |
FiveDollar | 0:b2b3955cd77b | 22 | double p_PaceAmp; |
FiveDollar | 0:b2b3955cd77b | 23 | double p_PaceWidth; |
FiveDollar | 0:b2b3955cd77b | 24 | double p_RP; |
FiveDollar | 0:b2b3955cd77b | 25 | double p_Sensitivity; |
FiveDollar | 0:b2b3955cd77b | 26 | |
FiveDollar | 0:b2b3955cd77b | 27 | }; |