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.

interface.h

Committer:
trane3
Date:
2016-11-14
Revision:
7:4eb590c7e064
Parent:
0:b2b3955cd77b
Child:
9:b48423a135d8

File content as of revision 7:4eb590c7e064:

#pragma once
#include "mbed.h"
#include "hardware.h"
#include "chamberData.h"
#include "genData.h"
#include "pulse.h"
class interface{

public:
    interface();
    ~interface();
    interface(Serial*);
    interface(Serial* , pulse* , chamberData* , chamberData*);
    void startScreen();
    void dataScreen();
    void getData(chamberData*);
    void chngVentData();
    char* getInput();
    char getChar();
//    void setAtrium(AnalogOut&);
//    void setVentricle(AnalogOut&);
//    void LEDon(AnalogOut*);
//    void LEDoff(AnalogOut*);
    void changeData(int , double); // UI tells the user to you 1 for atrium, 2 for ventricle, etc.
    void getData(int);
    void getEgram();
      
private:
    Serial* pc;
    pulse* interfacePulse;
    chamberData* atrData;
    chamberData* ventData;
};