Pacemaker code Implementation for SFWRENG 3K04

Dependencies:   mbed Queue mbed-rtos FXOS8700Q

Fork of Pacemaker by Eric dollar

SWFRENG 3K04 Project to design, develop, and document a functional pacemaker.

The project uses the Freescale K64F Microcontroller and C++ mbed library.

chamberData.h

Committer:
FiveDollar
Date:
2016-11-24
Revision:
20:bfd23a6845bb
Parent:
0:b2b3955cd77b
Child:
27:f8deff828a00

File content as of revision 20:bfd23a6845bb:

#pragma once
#include "mbed.h"
#include "genData.h"

class chamberData : public genData {
public:
    chamberData();
    ~chamberData();
    chamberData(Serial*, char);
    char getChamberType();
    int chngPaceAmp(double);
    double getPaceAmp();
    int chngPaceWidth(double);
    double getPaceWidth();
    int chngRP(double);
    double getRP();
    int chngSensitivity(double);
    double getSensitivity();
private:
    Serial* pc;
    char mychamber;
    double p_PaceAmp;
    double p_PaceWidth;
    double p_RP;
    double p_Sensitivity;
    
};