Pacemaker code Implementation for SFWRENG 3K04
Dependencies: FXOS8700Q Queue mbed-rtos mbed
Fork of Pacemaker by
chamberData.h@0:b2b3955cd77b, 2016-10-30 (annotated)
- Committer:
- FiveDollar
- Date:
- Sun Oct 30 16:04:52 2016 +0000
- Revision:
- 0:b2b3955cd77b
- Child:
- 20:bfd23a6845bb
Initial Commit
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 | 0:b2b3955cd77b | 11 | void chngPaceAmp(double); |
FiveDollar | 0:b2b3955cd77b | 12 | double getPaceAmp(); |
FiveDollar | 0:b2b3955cd77b | 13 | void chngPaceWidth(double); |
FiveDollar | 0:b2b3955cd77b | 14 | double getPaceWidth(); |
FiveDollar | 0:b2b3955cd77b | 15 | void chngRP(double); |
FiveDollar | 0:b2b3955cd77b | 16 | double getRP(); |
FiveDollar | 0:b2b3955cd77b | 17 | void 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 | }; |