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:
- 2:fbba2687ddfe
- Parent:
- 0:b2b3955cd77b
- Child:
- 20:bfd23a6845bb
--- a/chamberData.cpp Sun Oct 30 16:04:52 2016 +0000 +++ b/chamberData.cpp Mon Nov 14 01:27:31 2016 +0000 @@ -6,8 +6,8 @@ } chamberData::chamberData(Serial* inputPC, char chamberType){ - p_PaceAmp = 0; //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; + 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;