eric's fork test

Dependencies:   mbed

Fork of Pacemaker by 3k04 team

Committer:
FiveDollar
Date:
Sun Oct 30 16:04:52 2016 +0000
Revision:
0:b2b3955cd77b
Child:
7:4eb590c7e064
Initial Commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
FiveDollar 0:b2b3955cd77b 1 #pragma once
FiveDollar 0:b2b3955cd77b 2 #include "mbed.h"
FiveDollar 0:b2b3955cd77b 3 #include "hardware.h"
FiveDollar 0:b2b3955cd77b 4 #include "chamberData.h"
FiveDollar 0:b2b3955cd77b 5 #include "genData.h"
FiveDollar 0:b2b3955cd77b 6 #include "pulse.h"
FiveDollar 0:b2b3955cd77b 7 class interface{
FiveDollar 0:b2b3955cd77b 8
FiveDollar 0:b2b3955cd77b 9 public:
FiveDollar 0:b2b3955cd77b 10 interface();
FiveDollar 0:b2b3955cd77b 11 interface(Serial*);
FiveDollar 0:b2b3955cd77b 12 interface(Serial* , pulse* , chamberData* , chamberData*);
FiveDollar 0:b2b3955cd77b 13 void startScreen();
FiveDollar 0:b2b3955cd77b 14 void dataScreen();
FiveDollar 0:b2b3955cd77b 15 void getData(chamberData*);
FiveDollar 0:b2b3955cd77b 16 void chngVentData();
FiveDollar 0:b2b3955cd77b 17 char* getInput();
FiveDollar 0:b2b3955cd77b 18 char getChar();
FiveDollar 0:b2b3955cd77b 19 // void setAtrium(AnalogOut&);
FiveDollar 0:b2b3955cd77b 20 // void setVentricle(AnalogOut&);
FiveDollar 0:b2b3955cd77b 21 // void LEDon(AnalogOut*);
FiveDollar 0:b2b3955cd77b 22 // void LEDoff(AnalogOut*);
FiveDollar 0:b2b3955cd77b 23 void changeData(int , double); // UI tells the user to you 1 for atrium, 2 for ventricle, etc.
FiveDollar 0:b2b3955cd77b 24 void getData(int);
FiveDollar 0:b2b3955cd77b 25 void getEgram();
FiveDollar 0:b2b3955cd77b 26
FiveDollar 0:b2b3955cd77b 27 private:
FiveDollar 0:b2b3955cd77b 28 Serial* pc;
FiveDollar 0:b2b3955cd77b 29 pulse* interfacePulse;
FiveDollar 0:b2b3955cd77b 30 chamberData* atrData;
FiveDollar 0:b2b3955cd77b 31 chamberData* ventData;
FiveDollar 0:b2b3955cd77b 32 };