Pacemaker code Implementation for SFWRENG 3K04
Dependencies: mbed Queue mbed-rtos FXOS8700Q
Fork of Pacemaker by
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-24
- Revision:
- 24:4af25128cedf
- Parent:
- 19:d58e1e1a9a24
- Child:
- 25:d816de7067da
File content as of revision 24:4af25128cedf:
#pragma once #include "mbed.h" #include "hardware.h" #include "chamberData.h" #include "genData.h" #include "pulse.h" #include "dataStruct.h" class interface{ public: interface(); ~interface(); interface(Serial*); interface(Serial* , pulse* , genData*, chamberData* , chamberData*); void startScreen(); // void setAtrium(AnalogOut&); // void setVentricle(AnalogOut&); // void LEDon(AnalogOut*); // void LEDoff(AnalogOut*); private: void dataScreen(); void genDataScreen(); void chamberDataScreen(chamberData*); void getData(chamberData*); void chngVentData(); char* getInput(); char getChar(); void changeData(int , double); // UI tells the user to you 1 for atrium, 2 for ventricle, etc. void getData(int); void getEgram(); Serial* pc; pulse* interfacePulse; pulse* atrPulse; genData* generalData; chamberData* atrData; chamberData* ventData; };