eric's fork test

Dependencies:   mbed-rtos mbed

Fork of Pacemaker by 3k04 team

interface.h

Committer:
trane3
Date:
2016-11-16
Revision:
16:aef2f75f216b
Parent:
10:35b259e70c9a

File content as of revision 16:aef2f75f216b:

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

public:
    interface();
    ~interface();
    interface(Serial*);
    interface(Serial* , pulse* , genData*, 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;
    pulse* atrPulse;
    genData* generalData;
    chamberData* atrData;
    chamberData* ventData;
};