Pacemaker code Implementation for SFWRENG 3K04
Dependencies: FXOS8700Q Queue mbed-rtos mbed
Fork of Pacemaker by
Diff: chamberData.cpp
- Revision:
- 27:f8deff828a00
- Parent:
- 20:bfd23a6845bb
diff -r 3b49e8c3793f -r f8deff828a00 chamberData.cpp --- 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(){