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.
Diff: chamberData.h
- Revision:
- 0:b2b3955cd77b
- Child:
- 20:bfd23a6845bb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/chamberData.h Sun Oct 30 16:04:52 2016 +0000 @@ -0,0 +1,27 @@ +#pragma once +#include "mbed.h" +#include "genData.h" + +class chamberData : public genData { +public: + chamberData(); + ~chamberData(); + chamberData(Serial*, char); + char getChamberType(); + void chngPaceAmp(double); + double getPaceAmp(); + void chngPaceWidth(double); + double getPaceWidth(); + void chngRP(double); + double getRP(); + void chngSensitivity(double); + double getSensitivity(); +private: + Serial* pc; + char mychamber; + double p_PaceAmp; + double p_PaceWidth; + double p_RP; + double p_Sensitivity; + +}; \ No newline at end of file