eric's fork test

Dependencies:   mbed-rtos mbed

Fork of Pacemaker by 3k04 team

Committer:
trane3
Date:
Wed Nov 16 20:55:27 2016 +0000
Revision:
16:aef2f75f216b
Parent:
10:35b259e70c9a
test for threading and width setting - (eric)

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"
trane3 16:aef2f75f216b 7 #include "rtos.h"
FiveDollar 0:b2b3955cd77b 8 class interface{
FiveDollar 0:b2b3955cd77b 9
FiveDollar 0:b2b3955cd77b 10 public:
FiveDollar 0:b2b3955cd77b 11 interface();
trane3 7:4eb590c7e064 12 ~interface();
FiveDollar 0:b2b3955cd77b 13 interface(Serial*);
FiveDollar 9:b48423a135d8 14 interface(Serial* , pulse* , genData*, chamberData* , chamberData*);
FiveDollar 0:b2b3955cd77b 15 void startScreen();
FiveDollar 0:b2b3955cd77b 16 void dataScreen();
FiveDollar 0:b2b3955cd77b 17 void getData(chamberData*);
FiveDollar 0:b2b3955cd77b 18 void chngVentData();
FiveDollar 0:b2b3955cd77b 19 char* getInput();
FiveDollar 0:b2b3955cd77b 20 char getChar();
FiveDollar 0:b2b3955cd77b 21 // void setAtrium(AnalogOut&);
FiveDollar 0:b2b3955cd77b 22 // void setVentricle(AnalogOut&);
FiveDollar 0:b2b3955cd77b 23 // void LEDon(AnalogOut*);
FiveDollar 0:b2b3955cd77b 24 // void LEDoff(AnalogOut*);
FiveDollar 0:b2b3955cd77b 25 void changeData(int , double); // UI tells the user to you 1 for atrium, 2 for ventricle, etc.
FiveDollar 0:b2b3955cd77b 26 void getData(int);
FiveDollar 0:b2b3955cd77b 27 void getEgram();
FiveDollar 0:b2b3955cd77b 28
FiveDollar 0:b2b3955cd77b 29 private:
FiveDollar 0:b2b3955cd77b 30 Serial* pc;
FiveDollar 0:b2b3955cd77b 31 pulse* interfacePulse;
trane3 10:35b259e70c9a 32 pulse* atrPulse;
FiveDollar 9:b48423a135d8 33 genData* generalData;
FiveDollar 0:b2b3955cd77b 34 chamberData* atrData;
FiveDollar 0:b2b3955cd77b 35 chamberData* ventData;
FiveDollar 0:b2b3955cd77b 36 };