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.cpp
- Revision:
- 27:f8deff828a00
- Parent:
- 20:bfd23a6845bb
- Child:
- 34:701503855d52
--- a/chamberData.cpp Tue Nov 29 01:15:10 2016 +0000 +++ b/chamberData.cpp Tue Nov 29 19:41:38 2016 +0000 @@ -5,13 +5,12 @@ chamberData::chamberData(){ } -chamberData::chamberData(Serial* inputPC, char chamberType){ +chamberData::chamberData(char chamberType){ p_PaceAmp = 3.75; //decimal value between 0 and 1 which is a factor applied to 3.3V output. ie. 0.5 will give 0.5(3.3) V of output p_PaceWidth = 0.4; p_RP = 0; p_Sensitivity = 0; mychamber = chamberType; - pc = inputPC; } char chamberData::getChamberType(){