eric's fork test

Dependencies:   mbed

Fork of Pacemaker by 3k04 team

Revision:
0:b2b3955cd77b
Child:
7:4eb590c7e064
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/interface.h	Sun Oct 30 16:04:52 2016 +0000
@@ -0,0 +1,32 @@
+#pragma once
+#include "mbed.h"
+#include "hardware.h"
+#include "chamberData.h"
+#include "genData.h"
+#include "pulse.h"
+class interface{
+
+public:
+    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;
+};
\ No newline at end of file